Bugzilla – Attachment 185597 Details for
Bug 40654
Sorting holds table can cause priority issues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40654: Adjust display to show current priority
Bug-40654-Adjust-display-to-show-current-priority.patch (text/plain), 2.83 KB, created by
Lucas Gass (lukeg)
on 2025-08-20 16:35:23 UTC
(
hide
)
Description:
Bug 40654: Adjust display to show current priority
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-08-20 16:35:23 UTC
Size:
2.83 KB
patch
obsolete
>From 58d5f3872e27a90f4940aa733a93d94ac662a778 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 20 Aug 2025 16:34:14 +0000 >Subject: [PATCH] Bug 40654: Adjust display to show current priority > >--- > .../intranet-tmpl/prog/en/includes/holds_table.inc | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >index 70ff63bf366..d41bf17051f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >@@ -47,13 +47,14 @@ > [% SET tr_class = hold.suspend ? 'suspend' : '' %] > <tr class="[% tr_class | html %]"> > <td><input type="checkbox" class="select_hold" data-id="[% hold.reserve_id | html %]" /></td> >- <td> >+ <td style="min-width:185px;"> > <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> > <input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" /> > <input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" /> > [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] > [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %] >- <select name="rank-request" class="rank-request" data-hold-id="[% hold.reserve_id | html %]"> >+ <label for="rank-request_[% hold.reserve_id | html %]">Change priority to:</label> >+ <select name="rank-request" id="rank-request_[% hold.reserve_id | html %]" class="rank-request" data-hold-id="[% hold.reserve_id | html %]"> > [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] > [% FOREACH priority IN all_priorities %] > [% IF priority == this_priority %] >@@ -85,8 +86,11 @@ > [% END %] > [% ELSE %] > <input type="hidden" name="rank-request" class="rank-request" value="[% hold.priority | html %]" data-hold-id="[% hold.reserve_id | html %]" /> >- [% hold.priority | html %] > [% END %] >+ <div> >+ <label for="current_priority_[% hold.reserve_id | html %]">Current priority: </label> >+ <span id="current_priority_[% hold.reserve_id | html %]"><strong>[% hold.priority | html %]</strong></span> >+ </div> > </td> > [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%] > [%- UNLESS hold.found -%] >-- >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 40654
:
185419
|
185477
|
185589
|
185590
|
185597
|
185600
|
185605
|
185606