order any monograph parts by sort key when placing holds
authorJason Etheridge <jason@esilibrary.com>
Fri, 20 May 2011 02:54:30 +0000 (22:54 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 20 May 2011 02:54:45 +0000 (22:54 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>

Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm

index 4be3a41..bef8eb7 100644 (file)
@@ -2519,7 +2519,8 @@ sub rec_hold_parts {
                     distinct => 1,
                 }
             }
-        }
+        },
+        order_by =>[{class=>'bmp', field=>'label_sortkey'}]
     };
 
     if(defined $pickup_lib) {