Bugzilla – Attachment 182757 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: Address qa script complaints
Bug-23269-Address-qa-script-complaints.patch (text/plain), 1.79 KB, created by
Pedro Amorim
on 2025-05-23 09:08:56 UTC
(
hide
)
Description:
Bug 23269: Address qa script complaints
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-05-23 09:08:56 UTC
Size:
1.79 KB
patch
obsolete
>From bce3d01abd4fcd33cfba1d71c394de2c1845371f Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Fri, 23 May 2025 09:06:54 +0000 >Subject: [PATCH] Bug 23269: Address qa script complaints > >Use __("") instead of _("") >File is not tidy holds.js > >Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk> >--- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index 07ae330b779..89fb2a73bb0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -1200,7 +1200,7 @@ async function load_patron_holds_table(biblio_id, split_data) { > hold_table_settings > ); > $(table_id).on("draw.dt", function () { >- var MSG_CANCEL_SELECTED = _("Cancel selected (%s)"); >+ var MSG_CANCEL_SELECTED = __("Cancel selected (%s)"); > $(".cancel_selected_holds").html( > MSG_CANCEL_SELECTED.format( > $(".holds_table .select_hold:checked").length >@@ -1367,7 +1367,10 @@ async function load_patron_holds_table(biblio_id, split_data) { > data: JSON.stringify(req), > success: function (data) { > holdsQueueTable.api().ajax.reload(null, false); >- $(instance.input).attr("data-current-date", dateStr); >+ $(instance.input).attr( >+ "data-current-date", >+ dateStr >+ ); > }, > error: function (jqXHR, textStatus, errorThrown) { > holdsQueueTable.api().ajax.reload(null, false); >-- >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 23269
:
173770
|
176705
|
177151
|
181244
|
181247
|
182728
|
182729
|
182730
|
182754
|
182755
|
182756
| 182757