Bugzilla – Attachment 89796 Details for
Bug 22914
Add holds column to batch item delete to fix show/hide columns behaviour
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22914: Batch Item Delete column misconfigured when using show/hide tool
Bug-22914-Batch-Item-Delete-column-misconfigured-w.patch (text/plain), 4.36 KB, created by
Lucas Gass
on 2019-05-15 22:54:58 UTC
(
hide
)
Description:
Bug 22914: Batch Item Delete column misconfigured when using show/hide tool
Filename:
MIME Type:
Creator:
Lucas Gass
Created:
2019-05-15 22:54:58 UTC
Size:
4.36 KB
patch
obsolete
>From 25fc3036057d8f7374340fc163776e9d8fb7397f Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 13 May 2019 18:05:38 +0000 >Subject: [PATCH] Bug 22914: Batch Item Delete column misconfigured when using > show/hide tool > >--- > .../prog/en/modules/tools/batchMod-del.tt | 43 +++++++++++++++++++++- > 1 file changed, 41 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >index fd7913b850..b938a16c87 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >@@ -97,14 +97,53 @@ > <tr> > [% IF ( show ) %]<th> </th>[% END %] > <th class="anti-the">Title</th> >+ <th class="holds_count" title="Item holds / Total holds">Holds</th> > [% FOREACH item_header_loo IN item_header_loop %] > <th> [% item_header_loo.header_value | html %] </th> > [% END %] > </tr> > </thead> > <tbody> >- [% FOREACH item_loo IN item_loop %] <tr> [% IF ( show ) %][% IF ( item_loo.nomod ) %] <td class="error">Cannot edit</td>[% ELSE %]<td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber | html %]" id="row[% item_loo.itemnumber | html %]" checked="checked" /></td>[% END %][% END %] >- <td><label for="row[% item_loo.itemnumber | html %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber | uri %]">[% item_loo.title | html %]</a>[% IF ( item_loo.author ) %], by [% item_loo.author | html %][% END %]</label></td> >+ [% FOREACH item_loo IN item_loop %] >+ <tr> >+ [% IF show %] >+ [% IF item_loo.nomod %] >+ <td class="error">Cannot edit</td> >+ [% ELSE %] >+ <td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber | html %]" id="row[% item_loo.itemnumber | html %]" checked="checked" data-is-onloan="[% item_loo.onloan | html %]" /></td> >+ [% END %] >+ [% ELSE %] >+ <td> </td> >+ [% END %] >+ <td> >+ <label for="row[% item_loo.itemnumber | html %]"> >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber | uri %]"> >+ [% item_loo.title | html %] >+ </a> >+ [% IF ( item_loo.author ) %], by [% item_loo.author | html %][% END %] >+ </label> >+ </td> >+ <td class="holds_count"> >+ [% IF item_loo.holds %] >+ [% IF item_loo.item_holds %] >+ <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% item_loo.biblionumber | uri %]" title="Holds on this item: [% item_loo.item_holds | html %] / Total holds on this record: [% item_loo.holds | html -%]" > >+ [% ELSE %] >+ <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% item_loo.biblionumber | uri %]" title="No holds on this item / Total holds on this record: [% item_loo.holds | html -%]" > >+ [% END %] >+ [% ELSE %] >+ [% IF item_loo.holds %] >+ <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% item_loo.biblionumber | uri %]" title="Holds on this record: [% item_loo.holds | html -%]" > >+ [% ELSE %] >+ <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% item_loo.biblionumber | uri %]" title="No holds on this record" > >+ [% END %] >+ [% END %] >+ [% IF item_loo.holds %] >+ [% item_loo.item_holds | html %]/[% item_loo.holds | html %] >+ [% ELSE %] >+ [% item_loo.holds | html %] >+ [% END %] >+ </a> >+ </td> > [% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field | html %]</td> > [% END %] </tr> > [% END %] >-- >2.11.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 22914
:
89785
|
89787
|
89788
|
89789
|
89790
|
89796
|
89869
|
90139