@appbaseio/reactivesearch-vue 1.16.0-alpha.40 → 1.16.0-alpha.41
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/dist/@appbaseio/reactivesearch-vue.umd.js +6 -13
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +2 -2
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/ReactiveComponent.js +1 -10
- package/dist/cjs/initReactivesearch.js +2 -1
- package/dist/cjs/version.js +1 -1
- package/dist/es/ReactiveComponent.js +1 -10
- package/dist/es/initReactivesearch.js +2 -1
- package/dist/es/version.js +1 -1
- package/package.json +1 -1
|
@@ -105,18 +105,9 @@ var ReactiveComponent = {
|
|
|
105
105
|
queryToBeSet = obj.query.query;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
var customQueryCalc =
|
|
109
|
-
|
|
108
|
+
var customQueryCalc = queryToBeSet; // Update customQuery field for RS API
|
|
110
109
|
|
|
111
110
|
if (queryToBeSet || options) {
|
|
112
|
-
if (queryToBeSet.query) {
|
|
113
|
-
if (queryToBeSet.id) {
|
|
114
|
-
customQueryCalc = queryToBeSet;
|
|
115
|
-
} else {
|
|
116
|
-
customQueryCalc.query = queryToBeSet;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
111
|
_this.setCustomQuery(props.componentId, customQueryCalc);
|
|
121
112
|
}
|
|
122
113
|
|
|
@@ -272,7 +272,8 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
var customQuery = getCustomQuery(component, value);
|
|
275
|
+
var customQuery = getCustomQuery(component, value);
|
|
276
|
+
console.log('SETTING CUSTOM QUERY', component.componentId, customQuery); // set custom query for main component
|
|
276
277
|
|
|
277
278
|
queryList = queryReducer(queryList, {
|
|
278
279
|
type: 'SET_QUERY',
|
package/dist/cjs/version.js
CHANGED
|
@@ -98,18 +98,9 @@ var ReactiveComponent = {
|
|
|
98
98
|
queryToBeSet = obj.query.query;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
var customQueryCalc =
|
|
102
|
-
|
|
101
|
+
var customQueryCalc = queryToBeSet; // Update customQuery field for RS API
|
|
103
102
|
|
|
104
103
|
if (queryToBeSet || options) {
|
|
105
|
-
if (queryToBeSet.query) {
|
|
106
|
-
if (queryToBeSet.id) {
|
|
107
|
-
customQueryCalc = queryToBeSet;
|
|
108
|
-
} else {
|
|
109
|
-
customQueryCalc.query = queryToBeSet;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
104
|
_this.setCustomQuery(props.componentId, customQueryCalc);
|
|
114
105
|
}
|
|
115
106
|
|
|
@@ -266,7 +266,8 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
var customQuery = getCustomQuery(component, value);
|
|
269
|
+
var customQuery = getCustomQuery(component, value);
|
|
270
|
+
console.log('SETTING CUSTOM QUERY', component.componentId, customQuery); // set custom query for main component
|
|
270
271
|
|
|
271
272
|
queryList = queryReducer(queryList, {
|
|
272
273
|
type: 'SET_QUERY',
|
package/dist/es/version.js
CHANGED