[Bug 17273] New: Batch MARC Modification - improve options to define which records to modify
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Bug ID: 17273 Summary: Batch MARC Modification - improve options to define which records to modify Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Tools Assignee: gmcharlt@gmail.com Reporter: liz@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org Basically, duplicate the same thing we have for patrons bulk modification (create a patron list, use that list in the batch mod tool), but for biblios. Users should be able to do the following with this enhancement: * use a virtualshelf/list to provide targets for Batch MARC modification. Additionally, or alternatively, we could provide a "download file of biblionumbers" from a search result page that could then be imported into the tool using existing workflow of "Use a file." It could also be "download file of biblionumbers for selected results." Personally I think a list is a better choice, but don't want to be limiting in what the solution is. I do know that the workflow as it stands is pretty awkward. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> ---
* use a virtualshelf/list to provide targets for Batch MARC modification.
We already provide the option do pass the contents of a Cart to batch record deletion. I think it makes sense to do the same with MARC modifications. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- (In reply to Owen Leonard from comment #1)
We already provide the option do pass the contents of a Cart to batch record deletion. I think it makes sense to do the same with MARC modifications.
...and we already have that too. Did not know that until today. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #3 from Liz Rea <liz@catalyst.net.nz> --- Me neither - still desirable to use a list? Might be nice to have a batch of records that are persistent, and to have more than one? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Elaine Bradtke <eb@efdss.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eb@efdss.org --- Comment #4 from Elaine Bradtke <eb@efdss.org> --- A list seems more appropriate, as it may be something that is added to over the course of time, rather than something pulled together as a one off. Speaking as more of a librarian than a tech my first instinct was to create a list of things to batch modify. Never thought to put it in a cart. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gmcharlt@gmail.com |m.de.rooy@rijksmuseum.nl CC| |m.de.rooy@rijksmuseum.nl Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #5 from Marcel de Rooy <m.de.rooy@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #6 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 58876 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58876&action=edit Bug 17273: Add tests for Virtualshelf->list_biblionumbers Test plan: Run t/db_dependent/Virtualshelves.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #58875|0 |1 is obsolete| | --- Comment #7 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 58877 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58877&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 Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #58876|0 |1 is obsolete| | --- Comment #8 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 58878 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58878&action=edit Bug 17273: Add tests for Virtualshelf->list_biblionumbers Test plan: Run t/db_dependent/Virtualshelves.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |17892 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17892 [Bug 17892] Move _extract_biblionumbers to a module -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Josef Moravec <josef.moravec@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@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@rijksmuseum.nl> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #10 from Josef Moravec <josef.moravec@gmail.com> --- Created attachment 58912 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58912&action=edit [SIGNED-OFF] Bug 17273: Add tests for Virtualshelf->list_biblionumbers Test plan: Run t/db_dependent/Virtualshelves.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #11 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Josef Moravec from comment #10)
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Thanks Josef! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #12 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- I do not understand the point of this feature as it. You added it but it's not usable from the interface. I do not think it's a good idea to split stuffs like that, let's push it when it's ready. FYI, the bib_list parameter is already added to the interface. From the cart, there are 2 links "Batch modify" and "Batch delete". -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #13 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Jonathan Druart from comment #12)
I do not understand the point of this feature as it. You added it but it's not usable from the interface. I do not think it's a good idea to split stuffs like that, let's push it when it's ready.
FYI, the bib_list parameter is already added to the interface. From the cart, there are 2 links "Batch modify" and "Batch delete".
OK I did not see the link from the cart right away. Would you object to doing those interface things in two new reports? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #14 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Marcel de Rooy from comment #13)
Would you object to doing those interface things in two new reports?
Nope but I would not suggest to push them separately. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #15 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- list_biblionumbers c/should call ->get_column from Koha::Objects -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |BLOCKED --- Comment #16 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Hope I don't forget :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=12759 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 --- Comment #17 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- This sounds like a duplicate of bug 12759. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17273 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|BLOCKED |RESOLVED Resolution|--- |DUPLICATE --- Comment #18 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- *** This bug has been marked as a duplicate of bug 12759 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org