From: Thomas Berezansky Date: Fri, 11 Apr 2014 20:05:07 +0000 (-0400) Subject: LP#1302207 - Order AddedContent identifiers X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=76bb7b2329faf41e861e91a16ca69f1122d9a7d3;p=evergreen%2Fpines.git LP#1302207 - Order AddedContent identifiers When multiple exist coming out in a consistent order is preferred. In this case, use ID order. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Stephenson Signed-off-by: Ben Shum --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm index e1c0bf03bb..276dcc92bf 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm @@ -224,7 +224,10 @@ sub get_rec_keys { ] } ] - } + }, + order_by => [ + { class => 'mfr', field => 'id' } + ] }); }