Search for doc.name with the desk searchbox

Hi,

I’d like to know whether it is possible to search for documents by name from the search box on the desk.
I’m trying to search invoices by entering their SINV-… name but they do not appear in the results. I tried adding name to search_fields for this doctype, but I’m not really sure that this is the right way.

Is this supposed to work?

Thanks for your time.

ppd

Hi @ppd,

Use in operator to search in doctype,
e.g. SINV-00001 in Sales Invoice in awesome bar

Thanks, Makarand

Hi Makarand,

thank you very much for your reply. I hoped there’d be some sort of fuzzy search. Just scan an invoice barcode on the desk and you’d get the correct screen. Might have to play around with this a little :slight_smile:

Cheers
ppd