]> git.evergreen-ils.org Git - Evergreen.git/commit
Simplified Hold Pull List: Fix several sorting bugs
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 8 Aug 2012 17:50:33 +0000 (13:50 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 10 Aug 2012 12:38:43 +0000 (08:38 -0400)
commit5c82e4c0b44b7fe5cb71a3cacb56ff1a3ca1a619
treed370b2cecc759cc9fef61f13f1cbb6b4e9b499fb
parentf36156a19e3e0d04535a7ee839fa0e3a922f3d47
Simplified Hold Pull List: Fix several sorting bugs

First of all, sorting on most columns was broken due to a bug in the way
that the flattener methods of the open-ils.fielder service were
constructing their SQL JOINs.  We were coming up with way too many
joins, and then losing track of which JOIN's alias to refer to when
building the ORDER BY clause later.  This is fixed.

Secondly, the shelving location column now sorts automatically by the
shelving location *ordering* values, when avaiable.  These are the
values that you set up in the drag-and-drop staff client interface
titled "Copy Location Order."  When these values are not set for the org
unit whose pull list you're viewing, the sorting will fall back to
alphabetical.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Fielder.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Flattener.pm
Open-ILS/src/templates/circ/hold_pull_list.tt2