Bug 27780 - Add ability to set a customised default sort order for sale items
Summary: Add ability to set a customised default sort order for sale items
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 13985
Blocks:
  Show dependency treegraph
 
Reported: 2021-02-24 16:55 UTC by Martin Renvoize
Modified: 2022-04-26 11:11 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize 2021-02-24 16:55:20 UTC
The 'Items for purchase' table on the point of sale page can be sorted by code or description.

However, it would be beneficial to have 'popular' items appear at the top to prevent the requirement for searching for these items.

We have a few options:
* We could attempt to calculate this popularity dynamically.
* We could add a user-definable sort field in debit types.
* We could add a 'popular' flag to the debit types and then sort on 'popular + code/description'.
Comment 1 Martin Renvoize 2021-02-25 10:27:24 UTC
(In reply to Martin Renvoize from comment #0)
> * We could add a 'popular' flag to the debit types and then sort on 'popular
> + code/description'.

This is the simplest to achieve and should give a reasonable result.