From 1497bf4a95f0c961b6cd7724687a7536ea871912 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Tue, 19 Sep 2023 02:42:13 -0400 Subject: [PATCH] frontend: fixes to searching --- core/frontend.py | 5 ++--- core/frontend/sys/index.jinja | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/core/frontend.py b/core/frontend.py index d091ed4..bf50642 100644 --- a/core/frontend.py +++ b/core/frontend.py @@ -343,9 +343,8 @@ class FE_System(FE_Base): if ac_id_search is not None: u = self.data.arcade.get_arcade(ac_id_search[0]) - if ul is not None: - if u is not None: - aclist.append(u._asdict()) + if u is not None: + aclist.append(u._asdict()) elif ac_name_search is not None: ul = self.data.arcade.get_arcade_by_name(ac_name_search[0]) diff --git a/core/frontend/sys/index.jinja b/core/frontend/sys/index.jinja index d053d3e..120051a 100644 --- a/core/frontend/sys/index.jinja +++ b/core/frontend/sys/index.jinja @@ -8,8 +8,8 @@

User Search

- - + +
OR
@@ -18,8 +18,8 @@
OR
- - + +

@@ -31,13 +31,13 @@

Arcade Search

- - + +
OR
- - + +
OR