Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 139
    • Merge requests 139
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: catalog_tool_callable_fix
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7