(self, deck, _old)
Fill filtered deck using custom filter
Fill filtered deck using custom filter
Fill filtered deck using custom filter
def myFillDyn(self, deck, _old):
    """Fill filtered deck using custom filter"""
    search, limit, order = deck['terms'][0]
    if "is:today" in search:
        ids = self.dynToday(search, order=order)
        # move the cards over
        self.col.log(deck['id'], ids)
        self._moveToDyn(deck['id'], ids)
        return ids
    else:  
        return _old(self, deck)
def myFillDyn ( self , deck , _old ) : search , limit , order = deck [ 'terms' ] [ 0 ] if "is:today" in search : ids = self . dynToday ( search , order = order ) # move the cards over self . col . log ( deck [ 'id' ] , ids ) self . _moveToDyn ( deck [ 'id' ] , ids ) return ids else : return _old ( self , deck )