Template:WorkpackageTree: Difference between revisions

    From UNITApedia
    m (Only include to fix bug)
    No edit summary
     
    (2 intermediate revisions by the same user not shown)
    Line 8: Line 8:
    {{#tree:
    {{#tree:
    {{#compound_query:
    {{#compound_query:
       [[Category:Workpackages]]; ?Has number=; ?Has name=; mainlabel=-; sort=Has number;
       [[Category:Workpackages]]; ?Number=; ?Name=; mainlabel=-; sort=Number;
      | [[Category:Tasks]] [[PartOf workpackage::+]]; ?Has number=; ?Has 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