Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 141
    • Merge requests 141
  • 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
  • nexedi
  • erp5erp5
  • Merge requests
  • !793

Merged
Created Nov 02, 2018 by Ayush Tiwari@tiwariayushContributor

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

  • Overview 11
  • Commits 1
  • 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
Reviewer
Request review from
Time tracking
Source branch: catalog_tool_callable_fix
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7