Skip to content

Commit

Permalink
sitepanel: make search case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Aug 1, 2024
1 parent 993b110 commit 4272bfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion root/thruk/javascript/thruk-3.16.js
Original file line number Diff line number Diff line change
Expand Up @@ -2531,7 +2531,8 @@ function site_panel_search() {
jQuery(searches).each(function(i, v) {
if(v == "") { return true; }
try {
if(!name.match(v)) {
var re = new RegExp(v, "i");
if(!name.match(re)) {
show = false;
return false;
}
Expand Down

0 comments on commit 4272bfe

Please sign in to comment.