@frontastic/common 2.27.0 → 2.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # common Changelog
2
2
 
3
+ ## `2.28.1` (2022-03-28)
4
+
5
+ * fix(FP-1694): checked mapped orders on default decorators
6
+
7
+ ## `2.28.0` (2022-03-22)
8
+
9
+ * refactor(FP-1122): Make logic for handling single-attribute sorting the same as multi-attribute
10
+ * feat(FP-1122): Add sort by custom attribute functionality to Algolia integration
11
+
12
+ ## `2.27.1` (2022-03-17)
13
+
14
+ * fix: fix issue from studio-deployment-branch
15
+
3
16
  ## `2.27.0` (2022-03-15)
4
17
 
5
18
  * feat(FP-1486): upgrade Shopify version to latest stable version 2022-01
package/composer.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frontastic/common",
3
3
  "license": "None",
4
- "version": "2.27.0",
4
+ "version": "2.28.1",
5
5
  "repositories": [
6
6
  {
7
7
  "type": "path",
@@ -6,6 +6,7 @@
6
6
 
7
7
  * [__construct()](#__construct)
8
8
  * [setLanguage()](#setlanguage)
9
+ * [setSortIndex()](#setsortindex)
9
10
  * [search()](#search)
10
11
  * [getSettings()](#getsettings)
11
12
 
@@ -39,6 +40,20 @@ Argument|Type|Default|Description
39
40
 
40
41
  Return Value: `self`
41
42
 
43
+ ### setSortIndex()
44
+
45
+ ```php
46
+ public function setSortIndex(
47
+ array $sortAttributes
48
+ ): self
49
+ ```
50
+
51
+ Argument|Type|Default|Description
52
+ --------|----|-------|-----------
53
+ `$sortAttributes`|`array`||
54
+
55
+ Return Value: `self`
56
+
42
57
  ### search()
43
58
 
44
59
  ```php
@@ -9,5 +9,6 @@ Property|Type|Default|Required|Description
9
9
  `appId` | `string` | | - |
10
10
  `appKey` | `string` | | - |
11
11
  `indexName` | `string` | | - |
12
+ `sortIndices` | `array` | | - |
12
13
 
13
14
  Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontastic/common",
3
- "version": "2.27.0",
3
+ "version": "2.28.1",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.5.4",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",