Bugzilla – Attachment 193336 Details for
Bug 23269
Long hold queues are slowing the service
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23269: (follow-up) Fix priority modification for lesser permissions
0001-Bug-23269-follow-up-Fix-priority-modification-for-le.patch (text/plain), 2.02 KB, created by
Johanna Räisä
on 2026-02-18 07:22:58 UTC
(
hide
)
Description:
Bug 23269: (follow-up) Fix priority modification for lesser permissions
Filename:
MIME Type:
Creator:
Johanna Räisä
Created:
2026-02-18 07:22:58 UTC
Size:
2.02 KB
patch
obsolete
>From 14be9cb209f94f72ae8d5a51e3e88dbb2266d65e Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Johanna=20R=C3=A4is=C3=A4?= <johanna.raisa@gmail.com> >Date: Wed, 18 Feb 2026 08:52:46 +0200 >Subject: [PATCH] Bug 23269: (follow-up) Fix priority modification for lesser > permissions > >--- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index 653b6879c9..8ea41529d1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -1320,12 +1320,6 @@ async function load_patron_holds_table(biblio_id, split_data) { > targets: [2, 3], > className: "dt-body-nowrap", > }, >- { >- targets: [3, 9], >- visible: CAN_user_reserveforothers_modify_holds_priority >- ? true >- : false, >- }, > ], > columns: [ > { >@@ -1460,7 +1454,7 @@ async function load_patron_holds_table(biblio_id, split_data) { > orderable: false, > searchable: false, > render: function (data, type, row, meta) { >- if (row.status) { >+ if (row.status || !CAN_user_reserveforothers_modify_holds_priority) { > return null; > } > let buttons = >@@ -1679,7 +1673,7 @@ async function load_patron_holds_table(biblio_id, split_data) { > orderable: false, > searchable: false, > render: function (data, type, row, meta) { >- if (row.status) { >+ if (row.status || !CAN_user_reserveforothers_modify_holds_priority) { > return null; > } else { > if (row.lowest_priority) { >-- >2.34.1 >
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 23269
:
173770
|
176705
|
177151
|
181244
|
181247
|
182728
|
182729
|
182730
|
182754
|
182755
|
182756
|
182757
|
191638
|
191669
|
191670
|
192821
|
192849
|
192850
|
192851
|
192939
|
192940
|
192941
|
192942
|
192943
|
193100
|
193101
|
193102
|
193103
|
193104
|
193198
|
193199
|
193200
|
193201
|
193219
| 193336