mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Fixed bug that only one page got displayed if 'printable output' was selected in find page
SVN revision: 1863
This commit is contained in:
parent
cd849dc5ec
commit
034b134f72
@ -18360,7 +18360,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
|
|||||||
i_stop = n_msg - 1;
|
i_stop = n_msg - 1;
|
||||||
if (!csv && !xml && !raw) {
|
if (!csv && !xml && !raw) {
|
||||||
if (page_n || default_page) {
|
if (page_n || default_page) {
|
||||||
if (default_page)
|
if (default_page && page_n != -1)
|
||||||
page_n = reverse ? 1 : (n_msg - 1) / n_page + 1;
|
page_n = reverse ? 1 : (n_msg - 1) / n_page + 1;
|
||||||
|
|
||||||
if (page_n != -1) {
|
if (page_n != -1) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user