return the correct failpart for precat/noncat items
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 12 Mar 2010 14:56:41 +0000 (14:56 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 12 Mar 2010 14:56:41 +0000 (14:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@15825 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/100.circ_matrix.sql

index 25d05f5..ec02394 100644 (file)
@@ -254,7 +254,7 @@ BEGIN
 
     -- 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;