include filtered deck name in quotes

This commit is contained in:
Damien Elmes 2013-01-15 08:09:02 +09:00
parent ab46fa0a70
commit dec480844b

View File

@ -725,7 +725,7 @@ and check the statistics for a home deck instead."""))
if not search: if not search:
deck = self.col.decks.current() deck = self.col.decks.current()
if not deck['dyn']: if not deck['dyn']:
search = 'deck:%s ' % deck['name'] search = 'deck:"%s" ' % deck['name']
decks = self.col.decks.allNames() decks = self.col.decks.allNames()
while _("Filtered Deck %d") % n in decks: while _("Filtered Deck %d") % n in decks:
n += 1 n += 1