Browse Source

update search hospital role admin

pearlgw 3 weeks ago
parent
commit
cca1785471
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/services/admin/HospitalService.ts

+ 1 - 1
src/services/admin/HospitalService.ts

@@ -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 } : {}),