[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
Fri Jan 13 07:48:21 CET 2017


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

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #58877|0                           |1
        is obsolete|                            |
  Attachment #58878|0                           |1
        is obsolete|                            |

--- Comment #9 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 58911
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58911&action=edit
[SIGNED-OFF] 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

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

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


More information about the Koha-bugs mailing list