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

Josef Moravec <[email protected]> changed:

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

--- Comment #9 from Josef Moravec <[email protected]> ---
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 <[email protected]>

Signed-off-by: Josef Moravec <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to