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

Applying format query is broken

XMLWordPrintable

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

      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();

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

              Created:
              Updated:
              Resolved: