Skip to content

Commit

Permalink
re-enable deleted_selected action
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Nov 26, 2024
1 parent 4629558 commit a2a1deb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions onadata/apps/logger/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@ def restore_form(self, request, queryset):

restore_form.short_description = _("Restore selected soft-deleted forms")

def get_actions(self, request):
actions = super().get_actions(request)
if "delete_selected" in actions:
# disable delete_selected action
del actions["delete_selected"]
return actions


admin.site.register(XForm, XFormAdmin)

Expand Down

0 comments on commit a2a1deb

Please sign in to comment.