|
@@ -33,7 +33,7 @@ export const getAllHospitalService = async ({ page, limit, search, sortBy, order
|
33
|
33
|
const skip = (page - 1) * limit;
|
34
|
34
|
|
35
|
35
|
const where = {
|
36
|
|
- ...SearchFilter(search, ['name', 'province.id', 'city.id', 'type', 'ownership', 'simrs_type']),
|
|
36
|
+ ...SearchFilter(search, ['name', 'province.id', 'city.id', 'type', 'ownership']),
|
37
|
37
|
...(province ? { province_id: province } : {}),
|
38
|
38
|
...(city ? { city_id: city } : {}),
|
39
|
39
|
...(type ? { type } : {}),
|