Skip to content

Commit

Permalink
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>
  • Loading branch information
Garfield-fr authored and PascalRepond committed Apr 11, 2023
1 parent d0ad7e7 commit af0b34c
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
Expand Up @@ -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'
Expand Down

0 comments on commit af0b34c

Please sign in to comment.