File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 </ label >
1515 < div class ="tab-content ">
1616 < ul >
17- {% assign tactics = site.tactics | where_exp:"p", "p.parent == phase.id" %}
17+ {% assign tactics = site.tactics | where_exp:"p", "p.parent == phase.id" | sort: "title" %}
1818 {%for tactic in tactics %}
1919 < li >
2020 < input type ="checkbox " class ="technique-checkbox " id ="{{ tactic.slug }}-{{ forloop.index }} ">
2323 </ label >
2424 < div class ="tab-subcontent ">
2525 < ul >
26- {% assign techniques = site.techniques | where_exp:"p", "p.parent contains tactic.id" %}
26+ {% assign techniques = site.techniques | where_exp:"p", "p.parent contains tactic.id" | sort: "title" %}
2727 {%for technique in techniques %}
2828 < li > < a href ="{{ technique.url }} "> {{technique.title}}</ a > </ li >
2929 {%endfor%}
Original file line number Diff line number Diff line change 4343 {% assign alltactics = site.tactics | where_exp:"p", "p.parent == phase.id" %}
4444 {% for tactictitle in page.tactics %}
4545 {% assign newkc_tactics = alltactics | where_exp:"p", "p.title == tactictitle" %}
46- {% assign tactics = tactics | concat: newkc_tactics %}
46+ {% assign tactics = tactics | concat: newkc_tactics | sort: "title" %}
4747 {%endfor%}
4848
4949 < div class ="col-12 col-lg ">
5757 {% assign alltechniques = site.techniques | where_exp:"p", "p.parent contains tactic.id" %}
5858 {% for techniquetitle in page.techniques %}
5959 {% assign newkc_techniques = alltechniques | where_exp:"p", "p.title == techniquetitle" %}
60- {% assign techniques = techniques | concat: newkc_techniques %}
60+ {% assign techniques = techniques | concat: newkc_techniques | sort: "title" %}
6161 {%endfor%}
6262
6363 < div class ="tab ">
You can’t perform that action at this time.
0 commit comments