Fix searching in plugin manager with capital letters

This commit is contained in:
! Freaku 2024-02-22 01:04:52 +05:30 committed by GitHub
parent acbc1bda2d
commit 4be6330733
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 3 deletions

View file

@ -1,8 +1,12 @@
## Plugin Manager (dd-mm-yyyy)
### 1.0.7 (22-02-2024)
- Fix searching in plugin manager with capital letters.
### 1.0.6 (26-12-2023)
- Fixed plugin manager throwing errors on older builds
- Fixed plugin manager throwing errors on older builds.
### 1.0.5 (11-12-2023)

View file

@ -1,6 +1,7 @@
{
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
"versions": {
"1.0.7": null,
"1.0.6": {
"api_version": 8,
"commit_sha": "e5a0e90",
@ -146,4 +147,7 @@
"https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json"
],
"external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json"
}ger/{content_type}/{tag}/plugins/maps.json"
],
"external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json"
}

View file

@ -32,7 +32,7 @@ from threading import Thread
import logging
PLUGIN_MANAGER_VERSION = "1.0.6"
PLUGIN_MANAGER_VERSION = "1.0.7"
REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager"
# Current tag can be changed to "staging" or any other branch in
# plugin manager repo for testing purpose.
@ -1752,7 +1752,7 @@ class PluginManagerWindow(bui.Window):
if self.selected_category is None:
continue
try:
await self.draw_plugin_names(self.selected_category, search_term=filter_text)
await self.draw_plugin_names(self.selected_category, search_term=filter_text.lower())
except CategoryDoesNotExist:
pass
# XXX: This may be more efficient, but we need a way to get a plugin's textwidget