Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inventory list: add descending sorting
Browse files Browse the repository at this point in the history
Added descending sorting on barcode, call number
and second call number fields.

* Closes rero/rero-ils#2991.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
Garfield-fr authored and PascalRepond committed Apr 6, 2023
1 parent a405e64 commit a00fd67
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions projects/admin/src/app/routes/items-route.ts
Original file line number Diff line number Diff line change
@@ -169,14 +169,26 @@ export class ItemsRoute extends BaseRoute implements RouteInterface {
label: _('Barcode'),
value: 'barcode'
},
{
label: _('Barcode (desc)'),
value: '-barcode'
},
{
label: _('Call number'),
value: 'call_number'
},
{
label: _('Call number (desc)'),
value: '-call_number'
},
{
label: _('Second call number'),
value: 'second_call_number'
},
{
label: _('Second call number (desc)'),
value: '-second_call_number'
},
{
label: _('Current requests'),
value: 'current_requests'

0 comments on commit a00fd67

Please sign in to comment.