Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
ce0cd3b2
Commit
ce0cd3b2
authored
Sep 22, 2015
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: fix query error for hide item functionality
parent
4a81afaf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
...mplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
+10
-7
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
View file @
ce0cd3b2
...
...
@@ -281,6 +281,7 @@
query_string = url_query;\n
}\n
}\n
\n
if (hide_item.length >
0) {\n
tmp_hide_item = "catalog.uid: (";\n
for (i = 0; i
< hide_item.length
;
i
+=
1)
{\n
...
...
@@ -291,13 +292,15 @@
tmp_hide_item
+=
")";\n
}\n
}\n
}\n
\n
if
(query_string
!==
""
)
{\n
if
(query_string
!==
""
)
{\n
query_string
+=
\'
AND
\'
+
tmp_hide_item;\n
}
else
if
(
field_json.list_method_template =
==
undefined)
{\n
query_string =
\'
AND
\'
+
tmp_hide_item;\n
}
else
{\n
query_string =
tmp_hide_item;\n
}\n
}\n
\n
for
(
i =
0;
i
<
field_json.column_list.length;
i
+=
1)
{\n
select_list.push(field_json.column_list[i][0]);\n
...
...
@@ -742,7 +745,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
945.59
588.57633.38263
</string>
</value>
<value>
<string>
945.59
867.56911.41898
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -760,7 +763,7 @@
</tuple>
<state>
<tuple>
<float>
14429
25702.6
</float>
<float>
14429
31020.38
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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