Browse Source

Fixes #2613: Decrease live search minimum characters to three

Jeremy Stretch 7 years ago
parent
commit
5d07a5a670
2 changed files with 2 additions and 1 deletions
  1. 1 0
      CHANGELOG.md
  2. 1 1
      netbox/project-static/js/livesearch.js

+ 1 - 0
CHANGELOG.md

@@ -3,6 +3,7 @@ v2.4.9 (FUTURE)
 ## Bug Fixes
 
 * [#2606](https://github.com/digitalocean/netbox/issues/2606) - Fixed filtering for interfaces with a virtual form factor
+* [#2613](https://github.com/digitalocean/netbox/issues/2613) - Decrease live search minimum characters to three
 
 ---
 

+ 1 - 1
netbox/project-static/js/livesearch.js

@@ -49,7 +49,7 @@ $(document).ready(function() {
             // Disable parent selection fields
             // $('select[filter-for="' + real_field.attr('name') + '"]').val('');
         },
-        minLength: 4,
+        minLength: 3,
         delay: 500
     });