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. This makes scripting with it a LOT easier!
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!
Does this still work on top of bug 6536 ?
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?