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

Adding advance search to devices page
merge-requests/7/head
Rasika Perera 8 years ago committed by GitHub
commit 6c611a8e39

@ -459,6 +459,9 @@ function loadDevices(searchType, searchParam) {
$('#device-grid').removeClass('hidden');
$("#loading-content").remove();
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",
"searchKey": "name"

Loading…
Cancel
Save