Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !793

ERP5CatalogTool: Display view for portal_catalog when we access it on ERP5 UI

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Ayush Tiwari requested to merge tiwariayush/erp5:catalog_tool_callable_fix into master Nov 02, 2018
  • Overview 11
  • Commits 1
  • Pipelines 0
  • Changes 2

Before this change, index_html for Catalog Tool was None that means trying to access view for CatalogTool from UI always make a function call to the __call__ which function was overridden with searchResults, which means everytime someone tried to access portal_catalog/, a useless query was being made and an undesirable query result was displyed on the UI.

In this case, index_html is prefered whenever we try to access portal_catalog from UI.

Also, add test for proper display of view when CatalogTool is accessed from XHTML UI

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: catalog_tool_callable_fix
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7