Bugzilla – Attachment 194242 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
3a4f56b.patch (text/plain), 4.07 KB, created by
Martin Renvoize (ashimema)
on 2026-03-01 17:06:17 UTC
(
hide
)
Description:
Bug 17387: add links for restore item/biblio to cataloguing
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2026-03-01 17:06:17 UTC
Size:
4.07 KB
patch
obsolete
>From 3a4f56b2e9ba790cc8e1e175c4a8ab85aac6daec 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 > >Signed-off-by: Michaela <michaela.sieber@kit.edu> >Sponsored-by: ByWater Solutions >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc | 10 +++++----- > .../prog/en/modules/cataloguing/cataloging-home.tt | 7 ++++++- > 2 files changed, 11 insertions(+), 6 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..8839186e6e0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc >@@ -43,7 +43,7 @@ > </ul> > [% END %] > >- [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel || CAN_user_tools_records_batchmod || CAN_user_tools_records_batchdel || CAN_user_tools_marc_modification_templates || CAN_user_editcatalogue_edit_catalogue ) %] >+ [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel || CAN_user_tools_records_batchmod || CAN_user_tools_records_batchdel || CAN_user_tools_records_restore || CAN_user_tools_marc_modification_templates || CAN_user_editcatalogue_edit_catalogue ) %] > <h5>Batch editing</h5> > <ul> > [% IF ( CAN_user_tools_items_batchmod ) %] >@@ -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_tools_records_restore ) %] > <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..c7ad12c9e49 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 >@@ -120,7 +120,7 @@ > </div> > > <div class="col-sm-4 col-md-4"> >- [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel || CAN_user_tools_records_batchmod || CAN_user_tools_records_batchdel || CAN_user_tools_marc_modification_templates ) %] >+ [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel || CAN_user_tools_records_batchmod || CAN_user_tools_records_batchdel || CAN_user_tools_records_restore || CAN_user_tools_marc_modification_templates ) %] > <h3>Batch editing</h3> > <ul class="buttons-list"> > [% IF ( CAN_user_tools_items_batchmod ) %] >@@ -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_tools_records_restore ) %] >+ <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.53.0 >
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
|
194228
|
194229
|
194230
|
194231
|
194232
|
194233
|
194234
|
194235
|
194236
|
194237
|
194238
|
194239
|
194240
|
194241
| 194242 |
194243
|
194244
|
194245
|
194246
|
194247
|
194248