Skip to content

Commit

Permalink
make rate_limit_model searchable (WordPress#3711)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornthiberg committed Mar 14, 2024
1 parent 05292e6 commit f1a77b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api/admin/__init__.py
Expand Up @@ -90,7 +90,7 @@ class ProviderAdmin(admin.ModelAdmin):

@admin.register(ThrottledApplication)
class ThrottledApplicationAdmin(admin.ModelAdmin):
search_fields = ("client_id", "name")
search_fields = ("client_id", "name", "rate_limit_model")
list_display = ("client_id", "name", "created", "rate_limit_model")
ordering = ("-created",)

Expand Down

0 comments on commit f1a77b1

Please sign in to comment.