[% USE raw %] [% USE Asset %] [% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% PROCESS 'authorities-search-results.inc' %] [% INCLUDE 'doc-head-open.inc' %] [% FILTER collapse %] [% IF op == 'list' %] [% t("Confirm selection") | html %] › [% END %] [% IF op == 'enqueued' %] [% t("Job enqueued") | html %] › [% END %] [% t("Batch record deletion") | html %] › [% t("Cataloging") | html %] › [% t("Koha") | html %] [% END %] [% INCLUDE 'doc-head-close.inc' %] [% WRAPPER 'header.inc' %] [% INCLUDE 'cat-search.inc' %] [% END %] [% WRAPPER 'sub-header.inc' %] [% WRAPPER breadcrumbs %] [% WRAPPER breadcrumb_item %] Cataloging [% END %] [% IF op == 'list' || op == 'enqueued' %] [% WRAPPER breadcrumb_item %] Batch record deletion [% END %] [% END %] [% IF op == 'list' %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% t("Confirm selection") | html %] [% END %] [% ELSIF OP == 'enqueued' %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% t("Job enqueued") | html %] [% END %] [% ELSE %] [% WRAPPER breadcrumb_item bc_active= 1 %] Batch record deletion [% END %] [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.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 | html %] does not exist in the database. [% ELSIF message.code == 'authority_not_exists' %] The authority ID [% message.authid | html %] does not exist in the database. [% ELSIF message.code == 'cannot_enqueue_job' %] Cannot enqueue this job. [% ELSIF message.code == 'biblio_not_exists' %] Bibliographic record [% message.biblionumber | html %] does not exist in the database. [% ELSIF message.code == 'authority_not_exists' %] Authority record [% message.authid | html %] does not exist in the database. [% END %] [% IF message.error %] (The error was: [% message.error | html %], see the Koha log file for more information). [% END %]
[% END %] [% IF op == 'form' %]
Record type
[% WRAPPER tabs id= "batch_del_form" %] [% WRAPPER tabs_nav %] [% WRAPPER tab_item tabname= "uploadfile_tab" bt_active= 1 %] Upload a file [% END %] [% IF lists.count %] [% WRAPPER tab_item tabname= "shelves_tab" %] Select a list of records [% END %] [% END %] [% WRAPPER tab_item tabname= "enterlist_tab" %] Enter a list of record numbers [% END %] [% END # /WRAPPER tabs_nav %] [% WRAPPER tab_panels %] [% WRAPPER tab_panel tabname="uploadfile_tab" bt_active= 1 %]
[% END # /WRAPPER tab_panel %] [% IF lists.count %] [% WRAPPER tab_panel tabname="shelves_tab" %]
[% END # /WRAPPER tab_panel %] [% END # /IF lists.count %] [% WRAPPER tab_panel tabname="enterlist_tab" %]
  1. Enter a list of biblionumbers or authority IDs, one per line.
[% END # /WRAPPER tab_panel %] [% END # /WRAPPER tab_panels %] [% END # /WRAPPER tabs %]
Cancel
[% ELSIF op == 'list' %] [% IF records %] [% IF recordtype == 'biblio' %]
[% FOR biblio IN records %] [% END %]
Biblionumber Title Items Holds Checkouts Subscriptions
[% INCLUDE 'biblio-title.inc' link = 1 %] [% biblio.itemnumbers.size | html %] [% biblio.holds_count | html %] [% biblio.issues_count | html %] [% biblio.subscriptions_count | html %]
Reminder: this action will delete all selected bibliographic records, attached subscriptions, existing holds, and attached items!
[% ELSE %] [% FOR authority IN records %] [% END %]
AuthID Summary Used in
[% authority.authid | html %] [% PROCESS authresult summary=authority.summary authid=authority.authid %] [% authority.count_usage | html %] record(s)
Reminder: this action will delete all selected authorities!
[% END %]
Cancel
[% ELSE %] There are no record IDs defined. [% END %] [% ELSIF op == 'enqueued' %]

The job has been enqueued!

It will be processed as soon as possible.

View detail of the enqueued job | New batch record deletion

[% ELSE %] No action defined for the template. [% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]