duqinya 6 anni fa
parent
commit
90068445ab
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Repositories/CmsContentTemplateRepository.php

+ 1 - 1
app/Repositories/CmsContentTemplateRepository.php

@@ -32,7 +32,7 @@ class CmsContentTemplateRepository {
                 'status','=',$request['status'],
             ];
         }
-        return $this->cmsContentTemplate->where($where)->where('status',1)->orderBy('id', 'asc')->paginate($perPage);
+        return $this->cmsContentTemplate->where($where)->groupBy('city_id','apply_type')->orderBy('id', 'asc')->paginate($perPage);
 
 
     }