Bugzilla – Attachment 188700 Details for
Bug 17387
Add an undelete feature for items/biblios
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17387: add links for restore item/biblio to cataloguing
Bug-17387-add-links-for-restore-itembiblio-to-cata.patch (text/plain), 2.64 KB, created by
Jacob O'Mara
on 2025-10-30 17:39:44 UTC
(
hide
)
Description:
Bug 17387: add links for restore item/biblio to cataloguing
Filename:
MIME Type:
Creator:
Jacob O'Mara
Created:
2025-10-30 17:39:44 UTC
Size:
2.64 KB
patch
obsolete
>From 6735567e6dc551b9ce0faa282c0a6e4ea0b1129f Mon Sep 17 00:00:00 2001 >From: Jacob O'Mara <Jacob.omara@openfifth.co.uk> >Date: Thu, 30 Oct 2025 13:36:33 +0000 >Subject: [PATCH] Bug 17387: add links for restore item/biblio to cataloguing > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc | 8 ++++---- > .../prog/en/modules/cataloguing/cataloging-home.tt | 5 +++++ > 2 files changed, 9 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc >index 65d514cdca5..732571436b4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc >@@ -66,14 +66,14 @@ > <a href="/cgi-bin/koha/tools/batch_delete_records.pl">Batch record deletion</a> > </li> > [% END %] >- [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] >+ [% IF ( CAN_user_tools_marc_modification_templates ) %] > <li> >- <a href="/cgi-bin/koha/tools/restore-records.pl">Restore deleted records</a> >+ <a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a> > </li> > [% END %] >- [% IF ( CAN_user_tools_marc_modification_templates ) %] >+ [% IF ( CAN_user_editcatalogue_restore_records ) %] > <li> >- <a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a> >+ <a href="/cgi-bin/koha/tools/restore-records.pl">Restore deleted records</a> > </li> > [% END %] > </ul> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt >index 15cdf690cd8..f3dc46958e8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt >@@ -149,6 +149,11 @@ > <a class="circ-button" href="/cgi-bin/koha/tools/marc_modification_templates.pl"><i class="fa fa-gear"></i> MARC modification templates</a> > </li> > [% END %] >+ [% IF ( CAN_user_editcatalogue_restore_records ) %] >+ <li> >+ <a class="circ-button" href="/cgi-bin/koha/tools/restore-records.pl"><i class="fa fa-undo"></i> Restore deleted records</a> >+ </li> >+ [% END %] > </ul> > [% END %] > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17387
:
188670
|
188671
|
188672
|
188673
|
188674
|
188675
|
188676
|
188677
|
188678
|
188679
|
188680
|
188681
|
188682
|
188683
|
188684
|
188685
|
188686
|
188687
|
188688
|
188689
|
188690
|
188691
|
188692
|
188693
|
188694
|
188695
|
188696
|
188697
|
188698
|
188699
|
188700
|
188701
|
188780
|
188781
|
188782
|
188783
|
188784
|
188785
|
188786
|
188787
|
188788
|
188789
|
188790
|
188791
|
188792
|
188793
|
188794
|
188795
|
189046
|
189047
|
189048
|
189049
|
189050
|
189051
|
189052
|
189053
|
189054
|
189055
|
189056
|
189057
|
189058
|
189059
|
189060
|
189061
|
189062
|
189082
|
189083
|
189084
|
189085
|
189086
|
189087
|
189088
|
189089
|
189090
|
189091
|
189092
|
189093
|
189094
|
189095
|
189096
|
189097
|
189098
|
189099
|
189100
|
189101
|
189102
|
189103
|
189104
|
189105
|
189106
|
189107
|
189108
|
189109
|
189110
|
189111
|
189112
|
189113
|
189114
|
189115
|
189116
|
189117
|
189118
|
189119