hola-server 0.7.7 → 0.7.8
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/db/entity.js +1 -1
- package/package.json +1 -1
package/db/entity.js
CHANGED
|
@@ -230,7 +230,7 @@ class Entity {
|
|
|
230
230
|
let page_limit = parseInt(limit);
|
|
231
231
|
page_limit = isNaN(page_limit) || page_limit <= 0 ? 10 : page_limit;
|
|
232
232
|
|
|
233
|
-
const search_query =
|
|
233
|
+
const search_query = { ...query, ...await this.get_search_query(param_obj) };
|
|
234
234
|
if (!search_query) {
|
|
235
235
|
if (is_log_error()) {
|
|
236
236
|
log_error(LOG_ENTITY, "no search query is set for param:" + JSON.stringify(param_obj));
|