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
Joshua
erp5
Commits
071e4b1a
Commit
071e4b1a
authored
7 years ago
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZSQLCatalog: Move catalog table registration out of ColumnMap.
registerCatalog method must be avoided whenever possible.
parent
058178f1
master
arnau
arnau-TM-FEC-output
arnau-TM-getTypeBasedMethod-for-init_script
arnau-TM-isBuildable-with-multiple-BusinessLinks
arnau-TM-jabber-client-desktop-notifications
arnau-real-time-inventory-accounting
bryton/py3
catalog_filter
cherry-pick-243c2f03
cherry-pick-304d7a28
erp5-component
erp5-imt
erp5-messenger
erp5-vifib
erp5_catalog
erp5_catalog_final
erp5_corporate_identity
erp5_hal_json_style_fix_restricted_access_with_traverse
erp5_payslip_migration
feat/pdm_content_translation
feature/accounting-reports-stats
feature/hal-actions-support
feature/hal-support-update
feature/jio-accounting-reports
feature/jio-action-accounting
feature/jio-selection-actions
feature/json-allows-all-jio-actions
feature/renderjs-matrixbox
feature/rjs-listbox-stats
feature/rjs-mass-transition
feature/rjs-print-action
fix/consistency_check_alarm
fix/multiple_small_fixes_to_zodb_history_tab
fix/support-request-app-empty
for_testrunner_1
for_testrunner_2
for_testrunner_3
hotfix/accounting-test-timeout
hotfix/callable_tool
hotfix/field-keeps-request
hotfix/jio-mass-transition
hotfix/jio_view
hotfix/pdm-test
hotfix/rjs-accounting-tests
hotfix/rjs-editability
hotfix/rjs-form-less-invasive
hotfix/rjs-formfields-padding
hotfix/rjs-listbox-mutex
hotfix/rjs-replace-query-with-uids
hotfix/tests-cleanup
js-ui
keep_order_in_set_type_category_accessor
listbox_url
macros_fix
monitoring
monitoring-graph
ojs_wip
refactor/base_edit
refactor/renderjs
revert-38554dbe
revert-6c89fe9b
scalability-master
scalability-roque-2
scalability-run-command
streaming_fix
streaming_fix-0
valentin_translation_fix
wip
wsgi-gevent
test-ui
test-rjsacc
test-rjs
renderjs-test
erp5.util-0.4.58
erp5.util-0.4.57
erp5.util-0.4.56
erp5.util-0.4.55
erp5.util-0.4.54
erp5.util-0.4.53
erp5.util-0.4.52
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
product/ZSQLCatalog/ColumnMap.py
product/ZSQLCatalog/ColumnMap.py
+0
-1
product/ZSQLCatalog/Query/EntireQuery.py
product/ZSQLCatalog/Query/EntireQuery.py
+3
-0
No files found.
product/ZSQLCatalog/ColumnMap.py
View file @
071e4b1a
...
...
@@ -416,7 +416,6 @@ class ColumnMap(object):
# now that we have all aliases, calculate missing joins comming from
# non-RelatedKey relationships (like full_text).
self
.
registerCatalog
()
self
.
_calculateMissingJoins
()
# and all left joins that did not come from explicit queries
# (i.e. joins comming from 'sort_on', 'select_dict', etc.)
...
...
This diff is collapsed.
Click to expand it.
product/ZSQLCatalog/Query/EntireQuery.py
View file @
071e4b1a
...
...
@@ -96,6 +96,9 @@ class EntireQuery(object):
)
self
.
column_map
=
column_map
if
1
:
column_map
.
registerTable
(
self
.
catalog_table_name
,
)
for
extra_column
in
self
.
extra_column_list
:
table
,
column
=
extra_column
.
replace
(
'`'
,
''
).
split
(
'.'
)
if
table
!=
self
.
catalog_table_name
:
...
...
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