Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
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
Paul Graydon
wendelin
Commits
61082237
Commit
61082237
authored
5 months ago
by
Nikola Balog
Browse files
Options
Browse Files
Download
Plain Diff
Improve how Data Bucket Streams are displayed
See merge request
!155
parents
7fb14dc7
13ab6e42
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
bt5/erp5_wendelin/PathTemplateItem/web_page_module/gadget_erp5_page_wendelin_front_js.js
...tem/web_page_module/gadget_erp5_page_wendelin_front_js.js
+2
-2
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataArray_getArrayColumnList.py
...ortal_skins/erp5_wendelin/DataArray_getArrayColumnList.py
+2
-2
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/ERP5Site_createDataAnalysisList.py
...al_skins/erp5_wendelin/ERP5Site_createDataAnalysisList.py
+2
-2
No files found.
bt5/erp5_wendelin/PathTemplateItem/web_page_module/gadget_erp5_page_wendelin_front_js.js
View file @
61082237
...
...
@@ -58,8 +58,8 @@
"
key
"
:
"
field_listbox_storage
"
,
"
lines
"
:
5
,
"
list_method
"
:
"
portal_catalog
"
,
"
query
"
:
"
urn:jio:allDocs?query=portal_type%3A%28%22Data%20Stream%22%20OR%20%20%22Data%20Array%22%29
"
,
"
portal_type
"
:
[
"
Data Stream
"
,
"
Data Array
"
],
"
query
"
:
"
urn:jio:allDocs?query=portal_type%3A%28%22Data%20Stream%22%20OR%20%20%22Data%20Array%22%2
0OR%20%22Data%20Bucket%20Stream%22%2
9
"
,
"
portal_type
"
:
[
"
Data Stream
"
,
"
Data Array
"
,
"
Data Bucket Stream
"
],
"
search_column_list
"
:
[],
"
sort_column_list
"
:
[],
"
title
"
:
"
Latest Streams and Arrays
"
,
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataArray_getArrayColumnList.py
View file @
61082237
...
...
@@ -8,8 +8,8 @@ if array is None:
else
:
if
context
.
getArrayDtypeNames
()
is
not
None
:
return
[(
'index'
,
'Index'
)]
+
[(
str
(
i
)
,
str
(
i
))
for
i
in
context
.
getArrayDtypeNames
()]
return
[(
'index'
,
'Index'
)]
+
[(
str
(
i
)
.
replace
(
" "
,
"_"
),
str
(
i
).
replace
(
" "
,
"_"
))
for
i
in
context
.
getArrayDtypeNames
()]
elif
len
(
context
.
getArrayShape
())
<
2
:
return
[(
'index'
,
'Index'
),
(
'1'
,
'1'
)]
else
:
return
[(
'index'
,
'Index'
)]
+
[(
str
(
i
)
,
str
(
i
))
for
i
in
range
(
min
(
context
.
getArrayShape
()[
1
],
100
))]
return
[(
'index'
,
'Index'
)]
+
[(
str
(
i
)
.
replace
(
" "
,
"_"
),
str
(
i
).
replace
(
" "
,
"_"
))
for
i
in
range
(
min
(
context
.
getArrayShape
()[
1
],
100
))]
This diff is collapsed.
Click to expand it.
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/ERP5Site_createDataAnalysisList.py
View file @
61082237
...
...
@@ -191,8 +191,8 @@ for movement in portal_catalog(query = query):
if
item
is
None
:
module
=
portal
.
getDefaultModule
(
item_type
)
item
=
module
.
newContent
(
portal_type
=
item_type
,
title
=
transformation
.
getTitle
(
),
reference
=
"%s-%s
"
%
(
transformation
.
getTitle
(),
title
=
"%s-%s"
%
(
transformation
.
getTitle
(),
transformation_line
.
getTitle
()
),
reference
=
"%s-%s
-%s"
%
(
transformation
.
getTitle
(),
transformation_line
.
getTitle
(),
delivery
.
getReference
()),
version
=
'001'
)
try
:
...
...
This diff is collapsed.
Click to expand it.
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