diff options
author | Max Wittig <max.wittig95@gmail.com> | 2020-01-26 17:33:53 +0100 |
---|---|---|
committer | Max Wittig <max.wittig95@gmail.com> | 2020-01-26 17:35:18 +0100 |
commit | d1879253dae93e182710fe22b0a6452296e2b532 (patch) | |
tree | 70a2f9eb46f50fd59a55118708d1e34d660333b7 /gitlab/config.py | |
parent | 0b71ba4d2965658389b705c1bb0d83d1ff2ee8f2 (diff) | |
download | gitlab-feat/keyset-pagination.tar.gz |
feat: add global order_by option to ease paginationfeat/keyset-pagination
Diffstat (limited to 'gitlab/config.py')
-rw-r--r-- | gitlab/config.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gitlab/config.py b/gitlab/config.py index 95a1245..2272dd3 100644 --- a/gitlab/config.py +++ b/gitlab/config.py @@ -169,3 +169,9 @@ class GitlabConfigParser(object): self.pagination = self._config.get(self.gitlab_id, "pagination") except Exception: pass + + self.order_by = None + try: + self.order_by = self._config.get(self.gitlab_id, "order_by") + except Exception: + pass |