[Pkg-privacy-commits] [tails-installer] 109/210: Search using the summaries too

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:26:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.

commit 58711eb898fc8882727868110cff4de10d9b07f3
Author: Martin Briza <mbriza at redhat.com>
Date:   Thu Jun 18 14:45:48 2015 +0200

    Search using the summaries too
---
 liveusb/gui.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/liveusb/gui.py b/liveusb/gui.py
index e82c656..0deb08e 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -716,7 +716,7 @@ class ReleaseListProxy(QSortFilterProxyModel):
     def filterAcceptsRow(self, sourceRow, sourceParent):
         row = self.sourceModel().index(sourceRow, 0, sourceParent).data()
         if len(self._archFilter) == 0 or row.arch.lower() in [x.lower() for x in self._archFilter] or row.isLocal:
-            if len(self._nameFilter) == 0 or self._nameFilter.lower() in row.name.lower():
+            if len(self._nameFilter) == 0 or self._nameFilter.lower() in row.name.lower() or self._nameFilter.lower() in row.summary.lower():
                 return True
         return False
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list