[Koha-bugs] [Bug 25279] Make the cities list use the API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 6 00:02:25 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25279

--- Comment #24 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 104387
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104387&action=edit
Bug 25279: (QA follow-up) Original behaviour

This patch does the following things:
- Uses a call to Koha::Cities->search(*)->count to display the same
  message we displayed before when no city was found/defined (datatable
  not rendered at all).
- Restores the main search box functionality, the passed param is used
  to query on the city name with wildcards on both sides, for (a)
  counting results and for (b) apending to the API call with the same
  behaviour.

The only missing bit from QA is HTML/URI escaping values from cells, but
this is going to happen at DT level most sure.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list