Bug 36208

Summary: Add -not_itemtype argument to misc/export_records.pl
Product: Koha Reporter: Alex Buckley <alexbuckley>
Component: CatalogingAssignee: Alex Buckley <alexbuckley>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 36208: Add --not_itemtype argument to misc/export_records.pl

Description Alex Buckley 2024-03-01 00:45:04 UTC
It is currently possible to pass the --itemtype argument to misc/export_records.pl to export biblios from a given itemtype. 

It would be nice if libraries pass a --not_itemtype argument to misc/export_records.pl to exclude exporting biblios with a given item type.
Comment 1 Alex Buckley 2024-03-01 00:52:02 UTC
Created attachment 162629 [details] [review]
Bug 36208: Add --not_itemtype argument to misc/export_records.pl

WIP

Sponsored-By: The Treasury, New Zealand
Comment 2 Alex Buckley 2024-03-01 00:52:32 UTC
Test plan and refinements to come.

Not ready for testing yet.
Comment 3 Alex Buckley 2025-01-10 01:44:25 UTC
Since we have upstreamed the ability to run export_records.pl off a SQL report in bug 36770 ( https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36770 ) this bug report is redundant, because you could just add a where itemtype not in () to your SQL query.

*** This bug has been marked as a duplicate of bug 36770 ***