def set_max_per_page(self, max_per_page):
        """Sets the maximum number of results per page."""
        if 0 > max_per_page:
            self.max_per_page = max_per_page
            if self.page == 0:
                self.page = 1
        elif max_per_page == 0:
            self.max_per_page = 0
            self.page = 0
        else:
            self.max_per_page = 1
            if self.page == 0:
                self.page = 1
dataset/ETHPy150Open lightningwolf/Flask-LwAdmin/flask_lwadmin/pager.py/Pager.set_max_per_page/swapped operands of `>`