From 787538e1cab4432e9369b6700031e1b55acdf188 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Sun, 26 May 2019 23:08:01 +0200 Subject: [PATCH] Search function searches in names and description --- bl-kernel/admin/views/plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-kernel/admin/views/plugins.php b/bl-kernel/admin/views/plugins.php index 2dcb56ab..fd89e265 100644 --- a/bl-kernel/admin/views/plugins.php +++ b/bl-kernel/admin/views/plugins.php @@ -20,7 +20,7 @@ $(document).ready(function() { $(".searchItem").each( function() { var item = $(this); item.hide(); - item.children(".searchText").each( function() { + item.find(".searchText").each( function() { var element = $(this).text().toLowerCase(); if (element.indexOf(textToSearch)!=-1) { item.show();