chiark / gitweb /
Fix up search too long error message - really fix up
[ypp-sc-tools.main.git] / yarrg / web / check_commodstring
index 126dc21315644dd24820598bbf21d74888265b33..a6aa7267162499296286a6a0639ee6365acdb2a7 100644 (file)
@@ -36,6 +36,7 @@
 
 <%attr>
 multiple => 0
+maxambig => 4
 </%attr>
 
 <%method sqlstmt>
@@ -44,10 +45,14 @@ SELECT commodname,commodid
 </%method>
 
 <%method nomatch>
-  no commodity matches "<% $ARGS{spec} |h %>"
+  no commodity matches <% $ARGS{specq} %>
 </%method>
 
 <%method ambiguous>
-  ambiguous commodity "<% $ARGS{spec} |h %>",
+  ambiguous commodity <% $ARGS{specq} %>,
   could be <% $ARGS{couldbe} |h %>
 </%method>
+
+<%method manyambig>
+  Many matching commodities.
+</%method>