-
-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pagination and filtering #1220
Closed
Closed
Pagination and filtering #1220
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
2431cbd
add pagination and filtering to django simple history admin view for …
rumitLancium 6f40404
update documentation
rumitLancium c3763c5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f55c8bc
make sure they pass tests
rumitLancium b9d72cb
rebasing back to remove conflicts
rumitLancium 79c2046
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e0a0fe4
use history list per page instead of list per page
rumitLancium 39469b6
paginator.get_page already has a default value
rumitLancium 19ffcd5
Update CHANGES.rst
RumitAP 87dcd90
did not add filtering
rumitLancium 70dd823
Update docs/admin.rst
RumitAP 1e779ba
get rid of duplicated code block in docs
rumitLancium a4ff42a
add test
rumitLancium 58c18db
Merge branch 'master' into pagination-and-filtering
RumitAP ee6181b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c45b8bb
better test
rumitLancium 5f6f223
Merge branch 'pagination-and-filtering' of https://github.com/RumitAP…
rumitLancium 7a34825
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 047eb14
pre commit hooks run
rumitLancium f2f3ba0
Merge branch 'pagination-and-filtering' of https://github.com/RumitAP…
rumitLancium File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not
history_list_per_page
with one dash as is the pattern with the other naming?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im not exactly sure why you're not seeing the pagination because I just copied in what SimpleHistory as it is in my commits here into our own code and it seems to be working just fine with the pagination. I copied in both the object_history.html and SimpleHistoryAdmin class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So if I look at the files changed in this PR, I see no html file added or changed. And I guess the change as in the link I showed should be in
_object_history_list.html
for it to work.