Summary: | Getting all search results in C4::Breeding::Z3950Search, instead of pageful | ||
---|---|---|---|
Product: | Koha | Reporter: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
Component: | Z39.50 / SRU / OpenSearch Servers | Assignee: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
Status: | ASSIGNED --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | m.de.rooy |
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: | ||
Attachments: | Bug 12624 - Getting all search results in C4::Breeding::Z3950Search, instead of pageful |
Description
Olli-Antti Kivilahti
2014-07-22 09:27:48 UTC
Created attachment 29949 [details] [review] Bug 12624 - Getting all search results in C4::Breeding::Z3950Search, instead of pageful Fetching ALL component parts from a remote Z3950 repository is difficult. Also the Z3950Search() function only works directly to templates. This patch changes the Z3950Search() to OPTIONALLY return all search results as a HASH instead of a Template-object. Previous functionality is left untouched. This makes scripting with it a LOT easier! Probably not, thanks for pointing it out. I second that bug 6536 takes precedence over this one. I'll refactor this as needed. (In reply to Olli-Antti Kivilahti from comment #3) > Probably not, thanks for pointing it out. > > I second that bug 6536 takes precedence over this one. I'll refactor this as > needed. I still wanted to touch that paging stuff some time.. You are free to refactor my patch or substitute it with your own if you are in a hurry. Just please submit it here so I can utilize it as well. It looks like this hasn't changed yet - is it still a change we are interested in? |