Skip to content

Commit

Permalink
Merge pull request #1221 from digitalfabrik/bugfix/language-tree-pagi…
Browse files Browse the repository at this point in the history
…nation

Disable pagination on language tree
  • Loading branch information
timobrembeck committed Feb 21, 2022
2 parents 06012ed + fb5b1eb commit 3567461
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ UNRELEASED
* [ [#1214](https://github.com/digitalfabrik/integreat-cms/issues/1214) ] Fix API return format of event location
* [ [#1218](https://github.com/digitalfabrik/integreat-cms/issues/1218) ] Fix saving of first root node
* [ [#1215](https://github.com/digitalfabrik/integreat-cms/issues/1215) ] Use canonical Enter / Shift+Enter behavior in TinyMCE
* [ [#1221](https://github.com/digitalfabrik/integreat-cms/issues/1221) ] Disable pagination on language tree


2022.2.1
Expand Down
2 changes: 2 additions & 0 deletions integreat_cms/cms/views/language_tree/language_tree_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class LanguageTreeView(LanguageTreeContextMixin, ModelListView):
template_name = "language_tree/language_tree.html"
#: The model of this list view
model = LanguageTreeNode
#: Disable pagination for language tree
paginate_by = None

def get_queryset(self):
"""
Expand Down

0 comments on commit 3567461

Please sign in to comment.