Summary: | Add -deleted_marc_conditions argument to export_records script | ||
---|---|---|---|
Product: | Koha | Reporter: | David Gustafsson <glasklas> |
Component: | Command-line Utilities | Assignee: | David Gustafsson <glasklas> |
Status: | BLOCKED --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | robin |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 20551 | ||
Bug Blocks: | |||
Attachments: |
Bug 23009: Add -deleted_marc_conditions to export_records
Bug 23009: Add -set_deleted_marc_conditions to export_records Bug 23009: Add -set_deleted_marc_conditions to export_records |
Description
David Gustafsson
2019-05-29 13:56:40 UTC
Created attachment 90189 [details] [review] 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. 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 :) Created attachment 133121 [details] [review] 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 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. Created attachment 177550 [details] [review] 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 Rebased against master. |