chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'stable-5.x'
[ypp-sc-tools.main.git]
/
yarrg
/
web
/
check_commodstring
diff --git
a/yarrg/web/check_commodstring
b/yarrg/web/check_commodstring
index 126dc21315644dd24820598bbf21d74888265b33..a6aa7267162499296286a6a0639ee6365acdb2a7 100644
(file)
--- a/
yarrg/web/check_commodstring
+++ b/
yarrg/web/check_commodstring
@@
-36,6
+36,7
@@
<%attr>
multiple => 0
<%attr>
multiple => 0
+maxambig => 4
</%attr>
<%method sqlstmt>
</%attr>
<%method sqlstmt>
@@
-44,10
+45,14
@@
SELECT commodname,commodid
</%method>
<%method nomatch>
</%method>
<%method nomatch>
- no commodity matches
"<% $ARGS{spec} |h %>"
+ no commodity matches
<% $ARGS{specq} %>
</%method>
<%method ambiguous>
</%method>
<%method ambiguous>
- ambiguous commodity
"<% $ARGS{spec} |h %>"
,
+ ambiguous commodity
<% $ARGS{specq} %>
,
could be <% $ARGS{couldbe} |h %>
</%method>
could be <% $ARGS{couldbe} |h %>
</%method>
+
+<%method manyambig>
+ Many matching commodities.
+</%method>