Skip to content

Commit

Permalink
Merge pull request #1616 from LibraryOfCongress/1602-Alphabetize-site…
Browse files Browse the repository at this point in the history
…-report

site filter added
  • Loading branch information
rabiloc committed Feb 17, 2022
2 parents 38e7a20 + 2c93c5e commit 87d9a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions concordia/admin/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ class SiteCampaignListFilter(admin.SimpleListFilter):
# Title displayed on the list filter URL
title = "Campaign"
# Model field name:
parameter_name = "item__project__campaign__id__exact"
parameter_name = "campaign__id__exact"
# Custom attributes
project_ref = "item__project__campaign__id__exact"
project_ref = "campaign__id__exact"

def lookups(self, request, model_admin):

Expand Down

0 comments on commit 87d9a09

Please sign in to comment.