Uploaded image for project: 'Queries directory'
  1. Queries directory
  2. QUERIES-124

Applying format query is broken

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 2.11.0
    • None
    • 4.6 M4, 4.7.0 M1

    Description

      Since we have renamed the search tools, applying a format query can be impossible, it tries to apply the format on the tool with the same id as when it has been saved.

      See QueryFormatting.js line 60 :

      var toolId = content.toolId;
      
      var tool = Ametys.tool.ToolsManager.getTool(toolId);

      Maybe it should be :

      var tool = Ametys.tool.ToolsManager.getFocusedTool();

      Attachments

        Activity

          People

            ggouin Guillaume Gouin
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: