Adding advance search to devices page

revert-70aa11f8
Imesh Chandrasiri 8 years ago
parent 75f2015f5a
commit 9533bc9ac8

@ -459,6 +459,9 @@ function loadDevices(searchType, searchParam) {
$('#device-grid').removeClass('hidden'); $('#device-grid').removeClass('hidden');
$("#loading-content").remove(); $("#loading-content").remove();
attachDeviceEvents(); attachDeviceEvents();
$(this).closest('.dataTables_wrapper').find('div[id$=_filter] input')
.after('<a href="'+context+'/devices/search" class="add-padding-3x">Advance Search</a>')
}, { }, {
"placeholder": "Search By Device Name", "placeholder": "Search By Device Name",
"searchKey": "name" "searchKey": "name"

Loading…
Cancel
Save