Skip to content

Commit

Permalink
ITS-363398 | Search fields search changed to find exact barcode
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszkarykowski committed Mar 4, 2022
1 parent 5d46acd commit 089530f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ralph/back_office/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class BackOfficeAssetAdmin(
]
multiadd_summary_fields = list_display

search_fields = ['barcode', 'sn', 'hostname', 'invoice_no', 'order_no']
search_fields = ['=barcode', 'sn', 'hostname', 'invoice_no', 'order_no']

list_filter = [
'barcode', 'status', 'imei', 'imei2', 'sn', 'model', 'purchase_order',
Expand Down

0 comments on commit 089530f

Please sign in to comment.