projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6900662
)
[IMP] make page lookup case-insensitive during completion
author
Xavier Morel
<xmo@openerp.com>
Fri, 7 Feb 2014 15:06:23 +0000
(16:06 +0100)
committer
Xavier Morel
<xmo@openerp.com>
Fri, 7 Feb 2014 15:06:23 +0000
(16:06 +0100)
bzr revid: xmo@openerp.com-
20140207150623
-vevnuswi9gx0bqeb
addons/website/models/ir_http.py
patch
|
blob
|
history
diff --git
a/addons/website/models/ir_http.py
b/addons/website/models/ir_http.py
index
6948f10
..
46b9efc
100644
(file)
--- a/
addons/website/models/ir_http.py
+++ b/
addons/website/models/ir_http.py
@@
-167,5
+167,5
@@
class PageConverter(werkzeug.routing.PathConverter):
for view in views:
xid = xids[view['id']]
- if xid and (not query or query in xid):
+ if xid and (not query or query.lower() in xid.lower()):
yield xid