From 76bb7b2329faf41e861e91a16ca69f1122d9a7d3 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Fri, 11 Apr 2014 16:05:07 -0400 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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' } + ] }); } -- 2.43.2