diff --git a/.gitignore b/.gitignore index 108eaed..dda295a 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ django/static/ django/general/migrations/ node_modules/ local_settings.js +web_extension_chrome.zip ###################### Django Templated gitignore paths ###################### diff --git a/django/researchdata/admin.py b/django/researchdata/admin.py index 6fbbed3..7263795 100644 --- a/django/researchdata/admin.py +++ b/django/researchdata/admin.py @@ -58,12 +58,6 @@ class [ModelName]AdminView(GenericAdminView): 'meta_lastupdated_datetime' ) - def get_actions(self, request): - actions = super().get_actions(request) - if 'delete_selected' in actions: - del actions['delete_selected'] - return actions - def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) # Set all many to many fields to display the filter_horizontal widget diff --git a/django/researchdata/models.py b/django/researchdata/models.py index 6a5373b..ce41043 100644 --- a/django/researchdata/models.py +++ b/django/researchdata/models.py @@ -72,7 +72,7 @@ def __str__(self): return self.trigger_text class Meta: - ordering = (Upper('trigger_text'), 'id') + ordering = ('-meta_lastupdated_datetime', Upper('trigger_text'), 'id') class Prompt(models.Model): diff --git a/web_extension_chrome/manifest.json b/web_extension_chrome/manifest.json index 2f81458..0938939 100644 --- a/web_extension_chrome/manifest.json +++ b/web_extension_chrome/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Ethical Interface", - "version": "1.1.0", + "version": "1.1.1", "description": "Engage with the Ethical Interface research project run by Rosie Graham at the University of Birmingham", "permissions": ["tabs"], "host_permissions": [""],