[% PROCESS 'authorities-search-results.inc' %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Batch record deletion [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]

Batch record deletion

[% FOREACH message IN messages %] [% IF message.type == 'success' %]
[% ELSIF message.type == 'warning' %]
[% ELSIF message.type == 'error' %]
[% END %] [% IF message.code == 'biblio_not_exists' %] The biblionumber [% message.biblionumber %] does not exist in the database. [% ELSIF message.code == 'authority_not_exists' %] The authority id [% message.authid %] does not exist in the database. [% ELSIF message.code == 'item_issued' %] At least one item issued for the biblio [% message.biblionumber %]. [% ELSIF message.code == 'reserve_not_cancelled' %] The biblio [% message.biblionumber %] has not been deleted. A reserve (reserve_id [% message.reserve_id %]) caused an error on cancel. [% ELSIF message.code == 'item_not_deleted' %] The biblio [% message.biblionumber %] has not been deleted. An item (itemnumber [% message.itemnumber %]) caused an error on delete. [% ELSIF message.code == 'biblio_not_deleted' %] The biblio [% message.biblionumber %] has not been deleted. An error occurred on deleting it. [% ELSIF message.code == 'authority_not_deleted' %] The authority [% message.authid %] has not been deleted. An error occurred on deleting it. [% ELSIF message.code == 'biblio_deleted' %] The biblio [% message.biblionumber %] has successfully been deleted. [% ELSIF message.code == 'authority_deleted' %] The authority [% message.authid %] has successfully been deleted. [% END %] [% IF message.error %] (The error was: [% message.error%], see the Koha logfile for more information). [% END %]
[% END %] [% IF op == 'form' %]
Record type
Use a file
Or enter a list of record numbers
Cancel
[% ELSIF op == 'list' %] [% IF records %] [% IF recordtype == 'biblio' %]
[% FOR biblio IN records %] [% END %]
Biblionumber Title Items Reserves Issues
[% biblio.biblionumber %] [% biblio.title %] [% biblio.itemnumbers.size %] [% biblio.reserves.size %] [% biblio.issues_count %]
Reminder: this action will delete all selected biblios, attached subscriptions, existing holds and items!
[% ELSE %] [% FOR authority IN records %] [% END %]
Authid Summary Used in
[% authority.authid %] [% PROCESS authresult summary=authority.summary %] [% authority.count_usage %] biblio(s)
Reminder: this action will delete all selected authorities!
[% END %]
Cancel
[% ELSE %] There is no record ids defined. [% END %] [% ELSIF op == 'report' %] [% IF report.total_records == report.total_success %] All records have successfully been deleted! [% ELSIF report.total_success == 0 %] No record has been deleted, some errors occurred. [% ELSE %] [% report.total_success %] / [% report.total_records %] records have successfully been deleted but some errors occurred. [% END %]

New batch record deletion

[% ELSE %] No action defined for the template. [% END %]
[% INCLUDE 'tools-menu.inc' %]
[% INCLUDE 'intranet-bottom.inc' %]