@finema/core 1.4.73 → 1.4.75
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/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -119,11 +119,11 @@ export const apiFetchHelper = async (state, onUpdateStatus, onUpdateOptions, onU
|
|
|
119
119
|
...opts.fetch?.getRequestOptions?.(page, query, opts) ?? {}
|
|
120
120
|
};
|
|
121
121
|
const limit = reqOptions.params?.limit || config.limit_per_page;
|
|
122
|
-
reqOptions.params = ParamHelper.getParams(opts, reqOptions);
|
|
123
122
|
reqOptions.params = {
|
|
124
123
|
limit,
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
q: (query || "").trim(),
|
|
125
|
+
...ParamHelper.getParams(opts, reqOptions),
|
|
126
|
+
page
|
|
127
127
|
};
|
|
128
128
|
try {
|
|
129
129
|
if (opts.isMock) {
|