Feat(SQL, UI): Button Icons page, Command Button Links page created with get and set functionality.
This commit is contained in:
@@ -24,9 +24,6 @@ from pydantic import BaseModel
|
||||
from typing import ClassVar
|
||||
|
||||
class Model_View_Dog_Location(Model_View_Dog_Base):
|
||||
FLAG_CAN_HAVE_BUTTON: ClassVar[str] = Location.FLAG_CAN_HAVE_BUTTON
|
||||
FLAG_HAND_SIGNAL_DEFAULT_DESCRIPTION: ClassVar[str] = Location.FLAG_HAND_SIGNAL_DEFAULT_DESCRIPTION
|
||||
filter_location_categories: list = None
|
||||
locations: list = None
|
||||
form_filters: Filters_Location = None
|
||||
form_filters_old: Filters_Location
|
||||
@@ -42,14 +39,10 @@ class Model_View_Dog_Location(Model_View_Dog_Base):
|
||||
self.form_filters = form_filters_old
|
||||
datastore = DataStore_Dog()
|
||||
|
||||
parameters_filter_location = Parameters_Location.get_default()
|
||||
self.filter_location_categories, filter_locations, errors = datastore.get_many_location(parameters_filter_location)
|
||||
self.form_filters.id_location_category.choices += [(str(location_category.id_location_category), location_category.name) for location_category in self.filter_location_categories]
|
||||
|
||||
Helper_App.console_log(f'Form filters: {self.form_filters}')
|
||||
parameters_filter_location = Parameters_Location.from_form_filters_location(self.form_filters)
|
||||
Helper_App.console_log(f'Query args: {parameters_filter_location}')
|
||||
location_categories, self.locations, errors = datastore.get_many_location(parameters_filter_location)
|
||||
self.locations, errors = datastore.get_many_location(parameters_filter_location)
|
||||
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user