feat: searching on customer list

This commit is contained in:
2026-04-07 14:42:45 +02:00
parent 2e645f3368
commit d56650ae5d
5 changed files with 63 additions and 20 deletions

View File

@@ -21,6 +21,6 @@ func (s *CustomerService) GetById(id uint) (*model.Customer, error) {
return s.repo.Get(id)
}
func (s *CustomerService) Find(langId uint, p find.Paging, filt *filters.FiltersList) (*find.Found[model.UserInList], error) {
return s.repo.Find(langId, p, filt)
func (s *CustomerService) Find(langId uint, p find.Paging, filt *filters.FiltersList, search string) (*find.Found[model.UserInList], error) {
return s.repo.Find(langId, p, filt, search)
}