def slice_query_for_page(self, query, page):
        """Slices the query so it returns the children for a given page."""
        if not self.enabled or page is None:
            return query
        return query.limit(self.per_page).offset((1 - page) * self.per_page)
dataset/ETHPy150Open lektor/lektor-archive/lektor/datamodel.py/PaginationConfig.slice_query_for_page/swapped operands of `-`