Template:WorkpackageTree: Difference between revisions

    From UNITApedia
    m (Text replacement - "Has name" to "Name")
    No edit summary
     
    (One intermediate revision by the same user not shown)
    Line 8: Line 8:
    {{#tree:
    {{#tree:
    {{#compound_query:
    {{#compound_query:
       [[Category:Workpackages]]; ?Has number=; ?Name=; mainlabel=-; sort=Has number;
       [[Category:Workpackages]]; ?Number=; ?Name=; mainlabel=-; sort=Number;
      | [[Category:Tasks]] [[PartOf workpackage::+]]; ?Has number=; ?Name=; mainlabel=-; sort=Has number;
      | [[Category:Tasks]] [[PartOf workpackage::+]]; ?Number=; ?Name=; mainlabel=-; sort=Number;
      |format=tree
      |format=tree
      |parent=PartOf workpackage
      |parent=PartOf workpackage
      |sort=Has number
      |sort=Number
    |order=asc
    }}
    }}
    }}
    }}

    Latest revision as of 12:37, 14 June 2024

    I'm scraed that SCQ does not allow for sorting our queries... I'm going to let the code as is for future developers to see what has been tested. If someone as a good implementation way of doing this, the help is appreciated ! -- Clément Combier (Université de Pau et des Pays de l'Adour