Files
snipe-it/app/Models
Tobias Regnery eced1ab77f Fix advanced search with serial and another field
The advanced search in /hardware produces incorrect results if the serial is combined with another field like category.
There is a typo as the fieldname 'product_key' doesn't exist. Change this to 'serial'.

Also change the last If-Statement from ->orWhere() to ->where(). Now additional fields like custom fields can be combined with other searches in an And-Clause.
I think this function could be simplified further, but this is the minimal bugfix.
2021-08-05 15:07:28 +02:00
..
2021-06-17 00:36:04 +03:00
2021-03-22 12:57:26 -07:00
2017-06-21 16:37:37 -07:00
2021-05-07 16:42:26 -07:00
2020-11-25 11:00:28 -08:00