Finished Metadata implementation
This commit is contained in:
parent
3ef3248e61
commit
cfceb1f68c
15 changed files with 272 additions and 82 deletions
|
|
@ -11,7 +11,7 @@ function addCriteria ( fieldname, opform, valform ) {
|
|||
if(/\s+/.test(fieldname)) {
|
||||
fieldname = '"' + fieldname + '"';
|
||||
}
|
||||
if(/^\D+$/.test(value)) {
|
||||
if(/^\D*$/.test(value)) {
|
||||
value = '"' + value + '"';
|
||||
}
|
||||
var statement = fieldname + " " + operator + " " + value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue