A new fuzzy table search plugin for Adminer.
Was previously using the plugin here by brunetton but felt like it could be updated to function a bit better.
- No longer has a popup to filter the tables.
- Tables are sorted in place without creating/deleting elements thanks to appendChild being able to just move elements around.
- Utilizes Fuse.js for the fuzzy searching with an external dependency so it can be cached potentially from other sites.
- Install Adminer
- Follow the documentation for setting up plugins
- Download the two files to the
/plugins
folder - Add an entry to the
$plugins
arraynew AdminerTablesFuzzySearch()
By default there is a border color set in the php file. If you would like a different color you can change it in the php file or in your template file.
#menu #tables li.selected-table-entry {
border-color: rgb(76, 113, 166);
}