Searches in the name field has been extended to the description as well (close #44)

This commit is contained in:
Marco Dalla Tiezza
2024-06-04 19:51:21 +02:00
parent f61527ed70
commit 10607c88ea
4 changed files with 185 additions and 182 deletions

View File

@@ -96,7 +96,7 @@ class ArtemisDatabase(Database):
contains the SIG_ID and the NAME of the signal
"""
self.all_signals = self.execute(Query.SELECT_ALL_SIGNALS)
keys = ('SIG_ID', 'name')
keys = ('SIG_ID', 'name', 'description')
result = [dict(zip(keys, values)) for values in self.all_signals]
self.all_signals = result