Bugzilla – Attachment 15952 Details for
Bug 9458
Add sorting to lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9458 - Add sorting to lists - QA Followup 4
Bug-9458---Add-sorting-to-lists---QA-Followup-4.patch (text/plain), 3.99 KB, created by
Kyle M Hall (khall)
on 2013-03-07 18:30:47 UTC
(
hide
)
Description:
Bug 9458 - Add sorting to lists - QA Followup 4
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-03-07 18:30:47 UTC
Size:
3.99 KB
patch
obsolete
>From 5ccefa8632bcde05b9ded9b68d2f316e89106bfd Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 7 Mar 2013 13:30:27 -0500 >Subject: [PATCH] Bug 9458 - Add sorting to lists - QA Followup 4 > >--- > .../prog/en/modules/virtualshelves/shelves.tt | 36 ++++++------------- > 1 files changed, 12 insertions(+), 24 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index c02e454..85cabfe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -212,41 +212,29 @@ function placeHold () { > > [% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %] > <th> >- <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=title&direction=[% new_direction %]">Title</a> >+ <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=title&direction=[% IF sort != 'title' %]asc[% ELSE %][% new_direction %][% END %]">Title</a> > [% IF sort == 'title' %] >- [% IF direction == 'asc' %] >- <img src="/intranet-tmpl/prog/img/asc.gif" /> >- [% ELSIF direction == 'desc' %] >- <img src="/intranet-tmpl/prog/img/desc.gif" /> >- [% END %] >+ <img src="/intranet-tmpl/prog/img/[% direction %].gif" /> > [% ELSE %] > <img src="/intranet-tmpl/prog/img/ascdesc.gif" /> > [% END %] > </th> > <th> >- <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=author&direction=[% new_direction %]">Author</a> >+ <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=author&direction=[% IF sort != 'author' %]asc[% ELSE %][% new_direction %][% END %]">Author</a> > [% IF sort == 'author' %] >- [% IF direction == 'asc' %] >- <img src="/intranet-tmpl/prog/img/asc.gif" /> >- [% ELSIF direction == 'desc' %] >- <img src="/intranet-tmpl/prog/img/desc.gif" /> >- [% END %] >- [% ELSE %] >- <img src="/intranet-tmpl/prog/img/ascdesc.gif" /> >- [% END %] >+ <img src="/intranet-tmpl/prog/img/[% direction %].gif" /> >+ [% ELSE %] >+ <img src="/intranet-tmpl/prog/img/ascdesc.gif" /> >+ [% END %] > </th> > <th>Date added</th> > <th> >- <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=itemcallnumber&direction=[% new_direction %]">Call number</a> >+ <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=itemcallnumber&direction=[% IF sort != 'itemcallnumber' %]asc[% ELSE %][% new_direction %][% END %]">Call number</a> > [% IF sort == 'itemcallnumber' %] >- [% IF direction == 'asc' %] >- <img src="/intranet-tmpl/prog/img/asc.gif" /> >- [% ELSIF direction == 'desc' %] >- <img src="/intranet-tmpl/prog/img/desc.gif" /> >- [% END %] >- [% ELSE %] >- <img src="/intranet-tmpl/prog/img/ascdesc.gif" /> >- [% END %] >+ <img src="/intranet-tmpl/prog/img/[% direction %].gif" /> >+ [% ELSE %] >+ <img src="/intranet-tmpl/prog/img/ascdesc.gif" /> >+ [% END %] > </th> > <th> </th> > </tr> >-- >1.7.2.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 9458
:
14781
|
14790
|
14791
|
14792
|
15363
|
15543
|
15545
|
15554
|
15674
|
15675
|
15694
|
15891
|
15952
|
16031