Skip to content
Snippets Groups Projects
Commit 3b59baf5 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #902 from colemanw/searchBuilderDate

Remove empty operators for dates in search builder CRM-12712
parents 8d888b67 7a259ca6
Branches
Tags
No related merge requests found
......@@ -146,7 +146,7 @@
var input = $('.crm-search-value input', row);
if (!input.hasClass('hasDatepicker')) {
// Remove operators that can't be used with a date
removeOperators(row, ['IN', 'NOT IN', 'LIKE', 'RLIKE']);
removeOperators(row, ['IN', 'NOT IN', 'LIKE', 'RLIKE', 'IS EMPTY', 'IS NOT EMPTY']);
input.addClass('dateplugin').datepicker({
dateFormat: 'yymmdd',
changeMonth: true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment