Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
4afdb24a
Commit
4afdb24a
authored
Apr 11, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
js/data: removed portal_type_fieldlist from routine
parent
eeb39eb8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
9 deletions
+3
-9
data/home.json
data/home.json
+0
-2
data/ui_panel_detail_search.json
data/ui_panel_detail_search.json
+0
-1
data/ui_panel_groups.json
data/ui_panel_groups.json
+0
-1
js/erp5_loader.js
js/erp5_loader.js
+3
-5
No files found.
data/home.json
View file @
4afdb24a
...
...
@@ -90,7 +90,6 @@
},
{
"portal_type_source"
:
"Product"
,
"portal_type_title"
:
"product"
,
"portal_type_fields"
:
"product_fieldlist"
,
"skip_total_records"
:
true
,
"initial_query"
:
{
"query"
:
"subject: 'best'"
,
"include_docs"
:
true
,
"limit"
:
[
0
,
4
],
"select_list"
:
[
"currency"
,
"_id"
,
"brand"
,
"description_short"
,
"price"
,
"default_image_path"
]},
"property_dict"
:
{
...
...
@@ -133,7 +132,6 @@
},
{
"portal_type_source"
:
"Product"
,
"portal_type_title"
:
"product"
,
"portal_type_fields"
:
"product_fieldlist"
,
"skip_total_records"
:
true
,
"initial_query"
:
{
"include_docs"
:
true
,
"limit"
:
[
0
,
8
],
"sort_on"
:
[[
"date_created"
,
"descending"
]],
"select_list"
:
[
"currency"
,
"_id"
,
"brand"
,
"description_short"
,
"price"
,
"default_image_path"
]},
"property_dict"
:
{
...
...
data/ui_panel_detail_search.json
View file @
4afdb24a
...
...
@@ -87,7 +87,6 @@
},
{
"portal_type_source"
:
"Portal Category"
,
"portal_type_title"
:
"category"
,
"portal_type_fields"
:
"category_fieldlist"
,
"initial_query"
:
{
"query"
:
"reference: 'product_category'"
,
"include_docs"
:
true
,
"select_list"
:
[
"title"
,
"title_i18n"
]},
"property_dict"
:
{
"check"
:
true
...
...
data/ui_panel_groups.json
View file @
4afdb24a
...
...
@@ -24,7 +24,6 @@
{
"portal_type_source"
:
"Portal Category"
,
"portal_type_title"
:
"category"
,
"portal_type_fields"
:
"category_fieldlist"
,
"initial_query"
:
{
"query"
:
"reference: 'product_group'"
,
"include_docs"
:
true
,
"select_list"
:
[
"title"
,
"title_i18n"
]},
"property_dict"
:
{
"check"
:
true
...
...
js/erp5_loader.js
View file @
4afdb24a
...
...
@@ -5861,15 +5861,13 @@
// test for auth based access
pass
.
grant
=
true
;
// fetch field definitions
if
((
pass
.
grant
||
pass
.
mode
===
"
new
"
)
&&
pass
.
config_dict
.
portal_type_fields
)
{
// fetch field definitions - why make a query without fieldlist?
if
(
pass
.
grant
||
pass
.
mode
===
"
new
"
)
{
app
.
util
.
loader
(
""
,
"
status_dict.loading_config
"
);
return
storage
.
fetchConfigAttachment
({
"
storage
"
:
app
.
storage_dict
.
settings
,
"
file
"
:
app
.
storage_dict
.
property_dict
.
name_dict
.
data_type
,
"
attachment
"
:
pass
.
config_dict
.
portal_type_
fields
,
"
attachment
"
:
pass
.
config_dict
.
portal_type_
title
+
"
_fieldlist
"
,
"
pass
"
:
pass
});
}
...
...
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