Bugzilla – Attachment 113350 Details for
Bug 26846
serial-collections page should select the expected and late serials automatically
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26846: Fix regressions - Preselect expected and late serials
Bug-26846-Fix-regressions---Preselect-expected-and.patch (text/plain), 1.68 KB, created by
Jonathan Druart
on 2020-11-10 11:34:16 UTC
(
hide
)
Description:
Bug 26846: Fix regressions - Preselect expected and late serials
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-11-10 11:34:16 UTC
Size:
1.68 KB
patch
obsolete
>From ef480792816af05d5fe22023ca8c754404aab1e7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 10 Nov 2020 12:32:04 +0100 >Subject: [PATCH] Bug 26846: Fix regressions - Preselect expected and late > serials > >This is a follow-up for bug 17674. Expected and late serials must be >checked by default. > >Test plan: >Have some serial collection and notice that the checkboxes are checked >for expected and late serials >/serials/serials-collection.pl?subscriptionid=42 >--- > .../prog/en/modules/serials/serials-collection.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >index e5990e56f5..d0b6d72cf0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >@@ -199,7 +199,11 @@ > <input type="checkbox" name="serialid" value="[% serial.serialid | html %]" disabled /> > [% END %] > [% ELSE %] >- <input type="checkbox" name="serialid" value="[% serial.serialid | html %]" /> >+ [% IF serial.checked %] >+ <input type="checkbox" name="serialid" value="[% serial.serialid | html %]" checked /> >+ [% ELSE %] >+ <input type="checkbox" name="serialid" value="[% serial.serialid | html %]" /> >+ [% END %] > [% END %] > [% END %] > [% END %] >-- >2.20.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 26846
:
113350
|
113383
|
113755