[open-ils-commits] r15825 - branches/rel_1_6_0/Open-ILS/src/sql/Pg (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Mar 12 09:56:43 EST 2010


Author: miker
Date: 2010-03-12 09:56:41 -0500 (Fri, 12 Mar 2010)
New Revision: 15825

Modified:
   branches/rel_1_6_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql
Log:
return the correct failpart for precat/noncat items

Modified: branches/rel_1_6_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql	2010-03-12 10:46:33 UTC (rev 15824)
+++ branches/rel_1_6_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql	2010-03-12 14:56:41 UTC (rev 15825)
@@ -254,7 +254,7 @@
 
     -- Fail if we couldn't find the item 
     IF item_object.id IS NULL THEN
-        result.fail_part := 'no_user';
+        result.fail_part := 'no_item';
         result.success := FALSE;
         done := TRUE;
         RETURN NEXT result;



More information about the open-ils-commits mailing list