mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Enabled advacne search - resolves wso2/product-iots#1321
This commit is contained in:
parent
7294298c4b
commit
829bde940d
@ -497,11 +497,11 @@ function loadDevices(searchType, searchParam) {
|
||||
attachDeviceEvents();
|
||||
|
||||
|
||||
// if ($('.advance-search').length < 1) {
|
||||
// $(this).closest('.dataTables_wrapper').find('div[id$=_filter] input')
|
||||
// .after('<a href="' + context + '/devices/search"' +
|
||||
// ' class="advance-search add-padding-3x">Advance Search</a>');
|
||||
// }
|
||||
if ($('.advance-search').length < 1) {
|
||||
$(this).closest('.dataTables_wrapper').find('div[id$=_filter] input')
|
||||
.after('<a href="' + context + '/devices/search"' +
|
||||
' class="advance-search add-padding-3x">Advance Search</a>');
|
||||
}
|
||||
|
||||
}, {
|
||||
"placeholder": "Search By Device Name",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user