Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ django/static/
django/general/migrations/
node_modules/
local_settings.js
web_extension_chrome.zip


###################### Django Templated gitignore paths ######################
Expand Down
6 changes: 0 additions & 6 deletions django/researchdata/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion django/researchdata/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion web_extension_chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -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": ["<all_urls>"],
Expand Down