|
@@ -120,7 +120,10 @@ export class SearchService {
|
|
|
if (key === 'status') {
|
|
|
const status = get(params, 'status');
|
|
|
must.push({ term: { status } });
|
|
|
- } else {
|
|
|
+ } else if (key === 'is_use') {
|
|
|
+ const is_use = get(params, 'is_use');
|
|
|
+ must.push({ term: { is_use } });
|
|
|
+ }else {
|
|
|
const val = params[key];
|
|
|
let arrVal = [];
|
|
|
if (isArray(val)) arrVal = val;
|