[Koha-bugs] [Bug 5634] Ordering branches should be case independent

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 21 12:05:22 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5634

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14201|0                           |1
        is obsolete|                            |

--- Comment #11 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 14220
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14220&action=edit
Follow-up Bug 5634: Ordering branches should be case independent

This patch fix the order of branches in the log-in page,
on Branch.pm we added the variable branchcode to the
hash returned by GetBranchesLoop, and this function is used
on Auth.pm to get a list of branches ordered by branchname

To test
1) Use an installation with some branches
2) On login screen the branches are ordered by branchcode
3) apply the patch
4) On login screen the branches are now ordered by branchname

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
This patch works as expected. Before applying the patch the branches
with lower case was at the end of the list. Now they are well ordered.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list