Commit 052eac5
fix: In rare situations the page tree preview button did not view the latest version (#8050)
* style: ruff format cms/admin/pageadmin.py
* fix: Make sure that the latest version is opened from the page overview in admin
Without applying .latest_content() on the queryset it could happen that an
old version was opened when clicking on the eye icon of a page in the pages overview.
* Fix: Undo format changes
---------
Co-authored-by: Fabian Braun <fsbraun@gmx.de>1 parent 70cba86 commit 052eac5
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1307 | 1307 |
| |
1308 | 1308 |
| |
1309 | 1309 |
| |
1310 |
| - | |
| 1310 | + | |
1311 | 1311 |
| |
1312 | 1312 |
| |
1313 | 1313 |
| |
| |||
1405 | 1405 |
| |
1406 | 1406 |
| |
1407 | 1407 |
| |
1408 |
| - | |
1409 |
| - |
0 commit comments