diff --git a/assets/images/help/projects-v2/sort-order-secondary.png b/assets/images/help/projects-v2/sort-order-secondary.png new file mode 100644 index 0000000000..13bfe99dd5 Binary files /dev/null and b/assets/images/help/projects-v2/sort-order-secondary.png differ diff --git a/data/features/projects-v2-sorting-update.yml b/data/features/projects-v2-sorting-update.yml new file mode 100644 index 0000000000..dbf731779c --- /dev/null +++ b/data/features/projects-v2-sorting-update.yml @@ -0,0 +1,6 @@ +# Issue 14312 +# Updates to sorting fields +versions: + fpt: '*' + ghec: '*' + ghes: '>=3.14' diff --git a/data/reusables/projects/customize/sort.md b/data/reusables/projects/customize/sort.md index af8a9f6df8..357a5dafab 100644 --- a/data/reusables/projects/customize/sort.md +++ b/data/reusables/projects/customize/sort.md @@ -1,10 +1,11 @@ {% data reusables.projects.open-view-menu %} 1. Click **Sort**. 1. Click the field you want to sort by. -1. Optionally, to change the direction of the sort, click the field again. +{% ifversion projects-v2-sorting-update %}1. Optionally, to add a secondary sort, click another field.{% endif %} +1. Optionally, to change the direction of the sort{% ifversion projects-v2-sorting-update %} for either field{% endif %}, click the field again. - ![Screenshot of the sort menu. The button to change the direction of the sort is highlighted with an orange outline.](/assets/images/help/projects-v2/sort-order.png) + {% ifversion projects-v2-sorting-update %}![Screenshot of the sort menu. The button to change the direction of the sort for the first sorted field is highlighted with an orange outline.](/assets/images/help/projects-v2/sort-order-secondary.png){% else %}![Screenshot of the sort menu. The button to change the direction of the sort is highlighted with an orange outline.](/assets/images/help/projects-v2/sort-order.png){% endif %} -1. Optionally, to remove a sort, click {% octicon "x" aria-hidden="true" %} **No sorting** at the bottom of the list. +1. Optionally, to remove a sort,{% ifversion projects-v2-sorting-update %} click one of the sorted fields, or{% endif %} {% octicon "x" aria-hidden="true" %} click **No sorting** at the bottom of the list. Alternatively, open the project command palette by pressing {% data variables.projects.command-palette-shortcut %} and start typing "Sort by."