Bugzilla – Attachment 4674 Details for
Bug 6612
Sort pulldown for messages in alphabetical order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-6612-Sort-pulldown-for-messages-in-alpha.patch (text/plain), 1.63 KB, created by
Owen Leonard
on 2011-07-20 13:17:13 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-07-20 13:17:13 UTC
Size:
1.63 KB
patch
obsolete
>From d22147d31f1cfb13ec56b23a54bba52ad69e760a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 20 Jul 2011 09:11:18 -0400 >Subject: [PATCH] Fix for Bug 6612 - Sort pulldown for messages in alphabetical order >Content-Type: text/plain; charset="utf-8" > >The values in the menu come straight out of GetAuthorisedValues(), which sorts >its results by "category, lib, lib_opac." Rather than trying to re-sort the >data in circulation.pl this patch changes the template to show 'lib,' the >description, instead of the authorised_value. That will make the output >match the column which is being sorted. >--- > .../prog/en/modules/circ/circulation.tt | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index d2f6405..cb03d89 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -207,7 +207,7 @@ function refocus(calendar) { > <select name="type" id="type" onchange="this.form.borrower_message.value=this.options[this.selectedIndex].value;"> > <option value="">Select Note</option> > [% FOREACH canned_bor_notes_loo IN canned_bor_notes_loop %] >- <option value="[% canned_bor_notes_loo.lib %]">[% canned_bor_notes_loo.authorised_value %]</option> >+ <option value="[% canned_bor_notes_loo.lib %]">[% canned_bor_notes_loo.lib %]</option> > [% END %] > </select> > </li> >-- >1.7.3 >
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 6612
:
4673
| 4674