fixed search in wiki again for firebird
This commit is contained in:
@@ -29,7 +29,7 @@ update:
|
|||||||
wget -O gluon/contrib/simplejsonrpc.py http://rad2py.googlecode.com/hg/ide2py/simplejsonrpc.py
|
wget -O gluon/contrib/simplejsonrpc.py http://rad2py.googlecode.com/hg/ide2py/simplejsonrpc.py
|
||||||
echo "remember that pymysql was tweaked"
|
echo "remember that pymysql was tweaked"
|
||||||
src:
|
src:
|
||||||
echo 'Version 2.0.9 ('`date +%Y-%m-%d\ %H:%M:%S`') stable' > VERSION
|
echo 'Version 2.0.9 ('`date +%Y-%m-%d\ %H:%M:%S`') dev' > VERSION
|
||||||
### rm -f all junk files
|
### rm -f all junk files
|
||||||
make clean
|
make clean
|
||||||
### clean up baisc apps
|
### clean up baisc apps
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
Version 2.0.9 (2012-09-27 22:28:55) stable
|
Version 2.0.9 (2012-09-28 08:51:08) dev
|
||||||
|
|||||||
+1
-1
@@ -4920,7 +4920,7 @@ class Wiki(object):
|
|||||||
query = query&(db.wiki_page.created_by==self.auth.user_id)
|
query = query&(db.wiki_page.created_by==self.auth.user_id)
|
||||||
pages = db(query).select(count,
|
pages = db(query).select(count,
|
||||||
*fields,**dict(orderby=orderby or ~count,
|
*fields,**dict(orderby=orderby or ~count,
|
||||||
groupby=db.wiki_page.id,
|
groupby=reduce(lambda a,b:a|b,fields),
|
||||||
distinct=True,
|
distinct=True,
|
||||||
limitby=limitby))
|
limitby=limitby))
|
||||||
if request.extension in ('html','load'):
|
if request.extension in ('html','load'):
|
||||||
|
|||||||
Reference in New Issue
Block a user