BUG: with 2 templates with same name I cannot use the second one

If I have 2 templates with same name I cannot use the second one, the first gets selected.

group structure:

group
    + general-templates
        + templates
            - template
    + project-1
        + templates
            - template

steps to reproduce:

  • have both group/general-templates/templates and group/project-1/templates as sources of templates for projects under group/project-1
  • select “new project” under group/project-1
  • create from template
  • under group tab select group/project-1/templates/template
  • the project is created from wrong template group/general-templates/templates/template