This patch addresses the unintuitive copy location sort order in
Advanced Search when searching at a specific branch. Thanks to
Dan Wells for the code suggestion which changes the order in the listbox
to alphabetical sort by asset.copy_location.name.
Tested, and confirmed working in 2.0.4 test and production environments.
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
}
my $second_cstore_arg = {"no_i18n" => scalar($no_i18n)};
+ $second_cstore_arg->{"order_by"} = {"acpl" => "name"};
if ($flesh_owning_lib) {
$second_cstore_arg->{"flesh"} = 1;
$second_cstore_arg->{"flesh_fields"} = {"acpl" => ["owning_lib"]};