mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-13 03:40:31 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5b2ab9932 | ||
| 5a32a5908b |
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -72,10 +72,6 @@ jobs:
|
||||
else
|
||||
echo "version_format=\${major}.\${minor}.\${patch}rc\${increment}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: print version format
|
||||
run: |
|
||||
echo "Version format: ${{ steps.version_format.outputs.version_format }}"
|
||||
|
||||
- name: Git Version
|
||||
uses: PaulHatch/semantic-version@v5.4.0
|
||||
|
||||
@@ -107,7 +107,7 @@ def paginate(
|
||||
count_query = create_count_query(query)
|
||||
total = connection.scalar(count_query)
|
||||
|
||||
if paginationFlag is False:
|
||||
if paginationFlag is False and total > 0:
|
||||
params = Params(page=1, size=total)
|
||||
|
||||
query = create_paginate_query(query, params)
|
||||
|
||||
Reference in New Issue
Block a user