Problem/Motivation

There is no option to sortkey taxonmoies by weight in GraphQL compose. There are only following options to sort a taxonomy.
1. CREATED_AT
2. UPDATED_AT
3. TITLE
4. STICKY
5. PROMOTED

There should be a option to sort by Term weight

CommentFileSizeAuthor
#2 graphql_compose-n3447229-2.patch1.71 KBrajghai
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

vikramsaini1609 created an issue. See original summary.

rajghai’s picture

Assigned: Unassigned » rajghai
StatusFileSize
new1.71 KB

Hi Vikram

Adding a patch that allow to sort by term weight for taxonomies in the GraphQL Composer edge query.

rajghai’s picture

Assigned: rajghai » Unassigned
rajghai’s picture

Status: Active » Needs review

almunnings made their first commit to this issue’s fork.

almunnings’s picture

Added patch to MR for testing

  • almunnings committed 1c3e1f4f on 2.2.x
    Issue #3447229: SortKey by term weight for taxonomies - Apply supplied...

  • almunnings committed 50135aa0 on 2.1.x
    Backport 2.1.x Resolve #3447229 "Sortkey by term"
    
almunnings’s picture

Status: Needs review » Fixed

Done pending 2.1.1/2.2.x release. Thanks all.

almunnings’s picture

Status: Fixed » Closed (fixed)

2.1.1 released. Thanks!