Order AddedContent identifiers user/tsbere/addedcontent_order_ids
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 11 Apr 2014 20:05:07 +0000 (16:05 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Fri, 11 Apr 2014 20:05:07 +0000 (16:05 -0400)
When multiple exist coming out in a consistent order is preferred.

In this case, use ID order.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm

index e1c0bf0..276dcc9 100644 (file)
@@ -224,7 +224,10 @@ sub get_rec_keys {
                     ]
                 }
             ]
-        }
+        },
+        order_by => [
+                { class => 'mfr', field => 'id' }
+            ]
     });
 }