zenodo_accessrequests/helpers.py
def dir(self, col, asc='asc', desc='desc'):
        """Get direction (ascending/descending) of ordering."""
        if col == self._selected and self.asc is not None:
            return asc if self.asc else desc
        else:
            return None
def dir(self, col, asc='asc', desc='desc'):
        """Get direction (ascending/descending) of ordering."""
        if col == self._selected and self.asc is not None:
            return asc if self.asc else desc
        else:
            return None
def dir ( self , col , asc = 'asc' , desc = 'desc' ) : if col == self . _selected and self . asc is not None : return asc if self . asc else desc else : return None
Get direction (ascending/descending) of ordering.
Get direction ( ascending / descending ) of ordering .