Bug 36208 - Add -not_itemtype argument to misc/export_records.pl
Summary: Add -not_itemtype argument to misc/export_records.pl
Status: RESOLVED DUPLICATE of bug 36770
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Alex Buckley
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-01 00:45 UTC by Alex Buckley
Modified: 2025-01-10 01:44 UTC (History)
1 user (show)

See Also:
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 (2.04 KB, patch)
2024-03-01 00:52 UTC, Alex Buckley
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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 ***