Skip to content

Commit

Permalink
Merge pull request #153 from syslabcom/scrum-1939-fix-double-batching
Browse files Browse the repository at this point in the history
Results listing: Fix double batching
  • Loading branch information
reinhardt authored Feb 12, 2024
2 parents b18a086 + 3dd26b7 commit 54a3d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/recensio/plone/browser/templates/results-listing.pt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
b_size request/b_size | b_size;
b_start python:0;
b_start request/b_start | b_start;
batch python:Batch(results, b_size, int(b_start), orphan=0);
batch python:results if isinstance(results, Batch) else Batch(results, b_size, int(b_start), orphan=0);
use_navigation_root use_navigation_root|python:True;
gnd_view nocall:context/@@gnd-view;
">
Expand Down

0 comments on commit 54a3d8d

Please sign in to comment.