|
Lines 327-333
Link Here
|
| 327 |
sub_or.push({["me."+attr]:{"like":(search_type == "contain" ? "%" : "" ) + pattern + "%"}}); |
327 |
sub_or.push({["me."+attr]:{"like":(search_type == "contain" ? "%" : "" ) + pattern + "%"}}); |
| 328 |
if ( attr == 'dateofbirth' ) { |
328 |
if ( attr == 'dateofbirth' ) { |
| 329 |
try { |
329 |
try { |
| 330 |
let d = $date_to_rfc3339(pattern); |
330 |
let d = moment(pattern).format(); |
| 331 |
sub_or.push({["me."+attr]:d}); |
331 |
sub_or.push({["me."+attr]:d}); |
| 332 |
} catch { |
332 |
} catch { |
| 333 |
// Hide the warning if the date is not correct |
333 |
// Hide the warning if the date is not correct |
| 334 |
- |
|
|