Feat: New blog article page.
This commit is contained in:
@@ -38,8 +38,10 @@ class Model_View_Dog_Command(Model_View_Dog_Base):
|
||||
self._title = 'Command'
|
||||
self.form_filters = form_filters_old
|
||||
datastore = DataStore_Dog()
|
||||
|
||||
user_session = datastore.get_user_session()
|
||||
|
||||
parameters_filter_command = Parameters_Command.get_default()
|
||||
parameters_filter_command = Parameters_Command.get_default(user_session.id_user)
|
||||
self.filter_command_categories, filter_commands, errors = datastore.get_many_command(parameters_filter_command)
|
||||
self.form_filters.id_command_category.choices += [(str(command_category.id_command_category), command_category.name) for command_category in self.filter_command_categories]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user