zenodo_accessrequests/helpers.py
def reverse(self, col):
        """Get reverse direction of ordering."""
        if col in self.options:
            if self.is_selected(col):
                return col if not self.asc else '-{0}'.format(col)
            else:
                return col
        return None
def reverse(self, col):
        """Get reverse direction of ordering."""
        if col in self.options:
            if self.is_selected(col):
                return col if not self.asc else '-{0}'.format(col)
            else:
                return col
        return None
Get reverse direction of ordering.