[Koha-bugs] [Bug 17273] Batch MARC Modification - improve options to define which records to modify

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 12 15:29:12 CET 2017


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

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 58875
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58875&action=edit
Bug 17273: Add records to modify via shelf or search

This patch adds two new ways to add records via two new URL parameters:
[1] from_shelf allows you to pass a list number,
[2] from_search allows you to pass a search expression.
They are added now in the same way as bib_list was done earlier. A future
report should incorporate them into the interface.

Adding a new method to Virtualshelf along the way. Unit test in followup.

Note: I copied the sub _extract_biblionumbers from a new report still in
progress. I will move the sub to a module on a new report.

Test plan:
[1] Pick a list number (you should be allowed to see). And try this URL:
    /cgi-bin/koha/tools/batch_record_modification.pl?op=list&from_shelf=XX
    where XX obviously is your list number.
[2] Pick a search expression that does not generate too much records.
    And similarly try:
    /cgi-bin/koha/tools/batch_record_modification.pl?op=list&from_search=XX

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


More information about the Koha-bugs mailing list