Summary: | Add REST endpoint for searching extended patron attributes | ||
---|---|---|---|
Product: | Koha | Reporter: | Joonas Kylmälä <joonas.kylmala> |
Component: | REST API | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | jonathan.druart, lisettepalouse+koha, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Joonas Kylmälä
2021-05-27 12:52:48 UTC
It is a good idea. Remember there's the possibility to search patrons with x-koha-embed: extended_attributes, and then filter by extended_attributes.type using the q= parameter (In reply to Tomás Cohen Arazi from comment #1) > It is a good idea. > > Remember there's the possibility to search patrons with x-koha-embed: > extended_attributes, and then filter by extended_attributes.type using the > q= parameter That's sounds promising, thanks for the tip! I forwarded the infos to the libraries wanting to use this sort of API functionality :) (In reply to Joonas Kylmälä from comment #2) > (In reply to Tomás Cohen Arazi from comment #1) > > It is a good idea. > > > > Remember there's the possibility to search patrons with x-koha-embed: > > extended_attributes, and then filter by extended_attributes.type using the > > q= parameter > > That's sounds promising, thanks for the tip! I forwarded the infos to the > libraries wanting to use this sort of API functionality :) I'm sorry, it seems we forgot to add something to the spec for that to work. My fault! See bug 28480. (In reply to Tomás Cohen Arazi from comment #1) > It is a good idea. > > Remember there's the possibility to search patrons with x-koha-embed: > extended_attributes, and then filter by extended_attributes.type using the > q= parameter It's not working, you will need bug 30074. I see there is an x-koha-embed for patron_attributes, probably since the switch of the patron search. Maybe this helps? |