Skip to content

Commit

Permalink
Merge pull request #1564 from LibraryOfCongress/1496-Project-Level-Ex…
Browse files Browse the repository at this point in the history
…port

adding projects title
  • Loading branch information
rabiloc authored Oct 26, 2021
2 parents 07e8e35 + 2982fc0 commit 094a81c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions concordia/admin/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,7 @@ def project_level_export(request):
project_list = request.POST.getlist("project_name")
campaign_slug = request.GET.get("slug")

project_qs = Project.objects.filter(
id__in=project_list, campaign__slug=campaign_slug
)

proj_titles = "_"

for proj in project_qs:
proj_titles = proj_titles + proj.slug + "_"
proj_titles = "_projects"

item_qs = Item.objects.filter(
project__campaign__slug=campaign_slug, project__id__in=project_list
Expand Down

0 comments on commit 094a81c

Please sign in to comment.