summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-03-03 21:38:21 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-03-03 21:38:21 +0100
commit6a6aba15ba92c805fe35da7dcbdaa37bacccb6fd (patch)
treeaf67e8eeb5bd3ae257b1f6e87997b0090082d3c5 /portato
parent604bad93c0eecc031ac976cd8665f257c030d194 (diff)
downloadportato-6a6aba15ba92c805fe35da7dcbdaa37bacccb6fd.tar.gz
portato-6a6aba15ba92c805fe35da7dcbdaa37bacccb6fd.tar.bz2
portato-6a6aba15ba92c805fe35da7dcbdaa37bacccb6fd.zip
Fix sql search
Diffstat (limited to '')
-rw-r--r--portato/db/sql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/db/sql.py b/portato/db/sql.py
index b794d08..6c95bb3 100644
--- a/portato/db/sql.py
+++ b/portato/db/sql.py
@@ -251,7 +251,7 @@ class SQLDatabase (Database):
if "/" in restrict:
cat,pkg = restrict.split("/")
- self._restrict = "AND name LIKE '%%%s%%' AND cat LIKE '%s'" % (pkg, cat)
+ self._restrict = "AND name LIKE '%s%%' AND cat LIKE '%s'" % (pkg, cat)
else:
self._restrict = "AND (name LIKE '%%%(restrict)s%%' OR cat LIKE '%(restrict)s%%')" % {"restrict":restrict}
é 'Necoro' Neumann1-314/+369 2010-04-16Fix gtk deprecation warningRené 'Necoro' Neumann1-1/+1 2010-04-16TypoRené 'Necoro' Neumann2-3/+3 2010-04-16Do not allow portage's sqlite backend for the moment ... bug #564292René 'Necoro' Neumann2-16/+25 2010-04-15Better sorting of the database types in the preferences.René 'Necoro' Neumann2-6/+6 2010-04-15Add notify-python dependency for the version checkerRené 'Necoro' Neumann1-1/+1 2010-04-15Make the database type choice an info messageRené 'Necoro' Neumann2-7/+13 2010-04-15Renamed es_ES to esRené 'Necoro' Neumann1-0/+0 2010-04-15Fixed dependancy of the new_version plugin from "dev-util/git" to "dev-vcs/gi...Clement Bourgeois1-1/+1 2010-04-14Make some useless info messages being debug statementsRené 'Necoro' Neumann2-34/+17 2010-04-14Improve the C modulesRené 'Necoro' Neumann3-37/+52 2010-04-14Small modifications made to the French translation (typos, grammar).Clement Bourgeois1-69/+69 2010-04-14Fixed the unicode support and stuff ... and also made eix faster :)René 'Necoro' Neumann1-20/+22 2010-04-14Disable debug messages by defaultRené 'Necoro' Neumann1-1/+1 2010-04-13Better eix error inheritance and handlingRené 'Necoro' Neumann1-2/+9 2010-04-13Fix the handling of FilterSets. Fixes bug #558887.René 'Necoro' Neumann2-56/+64 2010-04-12Updated newsRené 'Necoro' Neumann1-0/+1 2010-04-13Added my name to translators list.Clement Bourgeois1-0/+1