Merge pull request #907 from harshanL/master

Enabled advanced search - resolves wso2/product-iots#1321
revert-70aa11f8
Hasunie 7 years ago committed by GitHub
commit 4c78b088ab

@ -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…
Cancel
Save