Sort weight is not respected

Created on 19 November 2024, 9 months ago

It seems when changing weights on /admin/config/search/search-api/index/overviews/sorts_widget/ it is not respected when form is being rendered.

I'll provide a quick patch for that.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium ludo.r Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @ludo.r
  • 🇧🇪Belgium ludo.r Brussels

    And here's the patch.

  • First commit to issue fork.
  • Merge request !6Add patch as GitLab MR → (Open) created by ressa
  • 🇩🇰Denmark ressa Copenhagen

    Thanks @ludo.r your patch makes the sort take effect! Though I don't see the tabledraggers (tabledrag-cell's are set to display: none) ... I need to use the "Show row weights" option, and enter for example "-1" to get a field at the top. Do you see them?

    I created an MR, since that's probably better for the further process. Perhaps we should try to restore the tabledraggers in this issue as well ... what do you think?

Production build 0.71.5 2024