Skip to content

Sorting by Unit Price not worked #11375

Closed

Description

@xlfds

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

Sorting by Unit Price not working in Stock -> StockItems table.
Sorting by Stock column not working too.

Steps to Reproduce

  1. Go to https://demo.inventree.org/web/stock/location/index/stock-items
  2. Show Unit price column
  3. Click to this column for sorting up
  4. Click again for sorting down
  5. We see this not working

Expected behaviour

Order of rows will sorting by Unit Price.

Deployment Method

None

Version Information

InvenTree 1.3.0 dev
Python 3.11.14
Django 5.2.11
Commit f620630
Commit date 2026-02-18

Try to reproduce on the demo site

I tried to reproduce

Is the bug reproducible on the demo site?

Reproducible

Relevant log output

Activity

  1. added
    bug
    question
    triage:not-checked
    on Feb 19, 2026
  2. added
    api
    and removed
    question
    triage:not-checked
    on Feb 19, 2026
  3. added this to the 1.3.0 milestone on Feb 19, 2026
  4. added
    User Interface
    on Feb 19, 2026
  5. SchrodingersGat commented on Feb 19, 2026

    @SchrodingersGat
    Member

    @xlfds thanks for reporting - fix incoming in #11379

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    User Interfaceapibug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions