During checking OLMIS-6430, I noticed that using the API console, I can't find orderable when I enter the id in the orderable ID field.
Use GET api/orderables and enter some orderable Id e.g. 469c6ed4-573c-4802-bc9e-d118f8c3c068.
It returned a message :
However, one can search by ID when using the Postman, so it's probably a bug in the API Console.
Log into the application as administrator and go to Administration > Products.
Click the "Edit" button next to any product.
Go to the "Kit Unpack List" tab.
Click the "Add Product" button.
Enter any value in the "Search Product" input.
The error from the screenshot occurs, and all products disappear from the modal.
Remove the previously-entered value.
The error re-occurs, and still no products are visible in the modal.
It should be possible to search by orderable ID in API Console;
It should be possible to search for products in the kit unpack list creation modal;
The products shouldn't disappear from the modal after cancelling the search.
There should be inputs on the modal accepting name and code values.
We should follow the same patter for filtering as with any other admin screen - have a separate input for all every thing that we search