stored proc param ordering
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Apr 2010 07:10:11 +0000 (07:10 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Apr 2010 07:10:11 +0000 (07:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16150 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm
Open-ILS/web/opac/common/js/config.js
Open-ILS/web/opac/skin/default/js/holds.js

index 0da1595..4135c19 100644 (file)
@@ -2967,8 +2967,8 @@ sub query_parser_fts {
                     $param_offset\:\:INT,
                     $param_check\:\:INT,
                     $param_limit\:\:INT,
-                    $staff\:\:BOOL,
-                    $metarecord\:\:BOOL
+                    $metarecord\:\:BOOL,
+                    $staff\:\:BOOL
                 );
     SQL
 
index 50aee75..96a50ab 100644 (file)
@@ -1,6 +1,6 @@
 /* Export some constants  ----------------------------------------------------- */
 
-var SHOW_MR_DEFAULT = false; /* true if we show metarecords by default */
+var SHOW_MR_DEFAULT = true; /* true if we show metarecords by default */
 
 //var DO_AUTHORITY_LOOKUPS = false;
 var DO_AUTHORITY_LOOKUPS = true;
index 48e17f5..9c68c07 100644 (file)
@@ -684,7 +684,7 @@ function holdsCheckPossibility(pickuplib, hold, recurse) {
 
        var args = { 
                titleid : holdArgs.record,
-               mrid : holdArgs.record,
+               mrid : holdArgs.metarecord,
                volume_id : holdArgs.volume,
                copy_id : holdArgs.copy,
                hold_type : holdArgs.type,