paging is zero based so minus 1

This commit is contained in:
Martijn
2024-12-02 17:46:10 +01:00
parent d5b0559037
commit a415f56809
+1 -1
View File
@@ -94,6 +94,6 @@ script:
- lambda: |-
id(actual_page) = id(actual_page) - 1;
if(id(actual_page) < 0) {
id(actual_page) = id(nr_of_pages);
id(actual_page) = id(nr_of_pages) - 1;
}
- script.execute: update_all