Merge pull request #558 from DimalChandrasiri/release-2.0.x

Adding advance search to devices page
revert-70aa11f8
Rasika Perera 8 years ago committed by GitHub
commit 6c611a8e39

@ -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