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

--- Comment #46 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 199785
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199785&action=edit
Bug 42508: Add patron ES search query builder and REST API

Adds the search layer:

- Koha::SearchEngine::Elasticsearch::Search::Patrons query builder
  - Honors DefaultPatronSearchFields syspref
  - Supports starts_with and contains match types
  - Column-level filters with colon-separated multi-field OR search
  - Facet aggregations for library, category, and restriction status
- REST API endpoint GET /search/patrons with DataTables compatibility
- Autocomplete endpoint GET /search/patrons/autocomplete

Test plan:
1. Apply patch
2. Run:
   $ ktd --shell
   k$ prove t/Koha/SearchEngine/Elasticsearch/Search/Patrons.t \
            t/db_dependent/api/v1/search_patrons.t
=> SUCCESS: Tests pass!
3. Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to