[Bug 23009] New: Add -deleted_marc_conditions argument to export_records script
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23009 Bug ID: 23009 Summary: Add -deleted_marc_conditions argument to export_records script Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: glasklas@gmail.com QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz Target Milestone: --- At our library we need to be able to marc exported records for deletion depending on a marc conditions. This patch adds a new argument that provides that functionality. The tests t/db_dependent/Exporter/Record.t fails in current master, which is an issue when running the included tests, but it seems like an unrelated bug. I will look into it and create a separate issue regarding this. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23009 --- Comment #1 from David Gustafsson <glasklas@gmail.com> --- Created attachment 90189 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90189&action=edit Bug 23009: Add -deleted_marc_conditions to export_records Add -deleted_marc_conditions argument to export_records script for setting deleted flag on records if condition matches. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23009 David Gustafsson <glasklas@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |BLOCKED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23009 David Gustafsson <glasklas@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |20551 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20551 [Bug 20551] Add option for including deleted records in export_records.pl -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23009 --- Comment #2 from David Gustafsson <glasklas@gmail.com> --- Regarding the bug causing the tests to fail it was just a mismatch of my current schema version and code base, so forget about that part :) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23009 David Gustafsson <glasklas@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #90189|0 |1 is obsolete| | --- Comment #3 from David Gustafsson <glasklas@gmail.com> --- Created attachment 133121 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133121&action=edit Bug 23009: Add -set_deleted_marc_conditions to export_records Add -set_deleted_marc_conditions argument to export_records script for setting deleted flag on records if condition matches. To test: 1) Run tests in t/db_dependent/Exporter/Record.t Sponsored-by: Gothenburg University Library -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23009 --- Comment #4 from David Gustafsson <glasklas@gmail.com> --- Rebased. Also renamed option to something more descriptive, the previous was pretty awful as you would probably expect the conditions be applied the same way as for normal records but for deleted ones. -set_deleted_marc_conditions will set the deleted flag for matching records, and are not conditions applied to filter records out as the previous parameter name implied. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23009 David Gustafsson <glasklas@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |glasklas@gmail.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23009 David Gustafsson <glasklas@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133121|0 |1 is obsolete| | --- Comment #5 from David Gustafsson <glasklas@gmail.com> --- Created attachment 177550 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177550&action=edit Bug 23009: Add -set_deleted_marc_conditions to export_records Add -set_deleted_marc_conditions argument to export_records script for setting deleted flag on records if condition matches. To test: 1) Run tests in t/db_dependent/Exporter/Record.t Sponsored-by: Gothenburg University Library -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23009 --- Comment #6 from David Gustafsson <glasklas@gmail.com> --- Rebased against master. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org