snipe-it/app
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
..
Console Better debugging output, and remove non-PHP-7.3-compatible option 2021-06-30 14:53:08 -07:00
Events Assorted licenses UI fixes while testing. 2020-05-12 14:38:21 -04:00
Exceptions Log namespacing 2021-03-09 13:39:53 -08:00
Helpers Merge branch 'develop' 2021-04-06 20:10:22 -07:00
Http Merge pull request #9881 from inietov/fixes/integrity_constraint_violation__emailing_password_reset 2021-07-30 16:01:53 -07:00
Importer Add the field model_number to Accessory importer 2021-07-24 02:38:44 -05:00
Jobs Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
LegacyEncrypter Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
Listeners Fixed checkin/checkout notification crashing 2020-09-11 16:10:18 -07:00
Models Fix advanced search with serial and another field 2021-08-05 15:07:28 +02:00
Notifications Refactor Expected Checkin Notification into markdown and enable translation (#8236) 2020-11-12 15:09:40 -08:00
Observers Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
Policies Added #5977: Add permission to view files attached to licenses (#9264) 2021-04-05 21:51:47 -07:00
Presenters Added created_at and updated_at to presenter 2021-03-30 08:57:20 -07:00
Providers (Maybe?) Fixes the problem where we always need LDAP enabled (#9321) 2021-04-20 14:53:47 -07:00
Services Attempt to fix transient LDAP bug 2021-05-07 18:13:04 -07:00