Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
w2pext
plugin_dbui
Commits
f4b425c3
Commit
f4b425c3
authored
Apr 11, 2017
by
LE GAC Renaud
Browse files
Update selector.py to fix a bug in the method Selector.repr_url.
parent
af67641b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/plugin_dbui/selector.py
modules/plugin_dbui/selector.py
+4
-3
No files found.
modules/plugin_dbui/selector.py
View file @
f4b425c3
...
...
@@ -207,11 +207,12 @@ class Selector(Storage):
if
k
.
startswith
(
tablename
)
and
len
(
v
):
data
.
append
(
"%s=%s"
%
(
k
,
v
))
t
=
(
current
.
request
.
env
.
http_host
,
t
=
((
"https"
if
current
.
request
.
is_https
else
"http"
),
current
.
request
.
env
.
http_host
,
current
.
request
.
env
.
path_info
,
'&'
.
join
(
data
))
"&"
.
join
(
data
))
url
=
"
http
://%s%s?%s"
%
t
url
=
"
%s
://%s%s?%s"
%
t
return
url
def
select
(
self
,
table
,
*
args
,
**
kwargs
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment