Skip to content

Bugfix-show-all-project-list#237

Merged
kbeker merged 1 commit intomasterfrom
bugfix-show-all-project-list
May 27, 2019
Merged

Bugfix-show-all-project-list#237
kbeker merged 1 commit intomasterfrom
bugfix-show-all-project-list

Conversation

@Szymiks
Copy link
Contributor

@Szymiks Szymiks commented May 24, 2019

Resolves: #224

I am not sure if this is right solution, but I have checked that our view using this queryset:
Project.objects.all() and our for loop is using object_list so still the same query is there because view doesn't refresh it. When I've added object_list.all in template it is work fine.

@Szymiks Szymiks added the bug Something isn't working label May 24, 2019
@Szymiks Szymiks added this to the v0.3.0 milestone May 24, 2019
@Szymiks Szymiks self-assigned this May 24, 2019
Copy link
Contributor

@rwrzesien rwrzesien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is elsewhere. Please replace queryset = Project.objects.all() to model = Project and self.queryset to super().get_queryset() in ProjectsListView.

@Szymiks Szymiks requested a review from rwrzesien May 27, 2019 07:09
@Szymiks
Copy link
Contributor Author

Szymiks commented May 27, 2019

The problem is elsewhere. Please replace queryset = Project.objects.all() to model = Project and self.queryset to super().get_queryset() in ProjectsListView.

Done

@kbeker kbeker force-pushed the bugfix-show-all-project-list branch from 0e52aea to c85dd9d Compare May 27, 2019 10:57
Copy link
Contributor

@kbeker kbeker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After @rwrzesien fix request it looks good. Merging

@kbeker kbeker merged commit c85dd9d into master May 27, 2019
@kbeker kbeker deleted the bugfix-show-all-project-list branch May 27, 2019 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not all projects are presented under *all* label in project list

5 participants