Commit f737dc1d84eaa318473952107bbdea5f8fbd9843
1 parent
61117fa8
Exists in
master
and in
3 other branches
added pdf_file app to Project
Showing
8 changed files
with
18 additions
and
1 deletions
Show diff stats
subjects/views.py
| ... | ... | @@ -567,7 +567,7 @@ class SubjectSearchView(LoginRequiredMixin, LogMixin, ListView): |
| 567 | 567 | |
| 568 | 568 | subjects = Subject.objects.filter(q).distinct() |
| 569 | 569 | self.resources = Resource.objects.filter(q).distinct() |
| 570 | - | |
| 570 | + | |
| 571 | 571 | self.totals = {'resources': self.resources.count(), 'my_subjects': subjects.count()} |
| 572 | 572 | |
| 573 | 573 | option = self.kwargs.get('option') | ... | ... |