CC-4495: Library -> Advanced Search: Some fields with ranges do not get validated
-fixed
This commit is contained in:
parent
4b2d6caf0e
commit
b4277f1f17
|
@ -1041,7 +1041,7 @@ function addQtipToSCIcons(){
|
||||||
* This function is called from dataTables.columnFilter.js
|
* This function is called from dataTables.columnFilter.js
|
||||||
*/
|
*/
|
||||||
function validateAdvancedSearch(divs) {
|
function validateAdvancedSearch(divs) {
|
||||||
var valid = true,
|
var valid,
|
||||||
allValid = true,
|
allValid = true,
|
||||||
fieldName,
|
fieldName,
|
||||||
fields,
|
fields,
|
||||||
|
@ -1059,6 +1059,7 @@ function validateAdvancedSearch(divs) {
|
||||||
fieldName = $(div).children(':nth-child(2)').attr('id');
|
fieldName = $(div).children(':nth-child(2)').attr('id');
|
||||||
fields = $(div).children().find('input');
|
fields = $(div).children().find('input');
|
||||||
searchTermType = validationTypes[fieldName];
|
searchTermType = validationTypes[fieldName];
|
||||||
|
valid = true;
|
||||||
|
|
||||||
$.each(fields, function(i, field){
|
$.each(fields, function(i, field){
|
||||||
searchTerm[i] = $(field).val();
|
searchTerm[i] = $(field).val();
|
||||||
|
|
Loading…
Reference in New Issue