Roam icon indicating copy to clipboard operation
Roam copied to clipboard

Allow search plugin to return multiple fields

Open karzak opened this issue 7 years ago • 1 comments

I have a layer (Buffer), with two columns of interest (address, status). Users want to be able to search for all buffers where status = 'In Progress'. However, the way the search plugin works, this just returns a list of buffers, with no address to distinguish one from the other. Being able to return both the status and the address would be a big help.

roam_searchplugin_issue

karzak avatar Jul 06 '17 13:07 karzak

Good idea however no time to implement at the moment, all of the search code is self contained within the search_plugin folder if you would like to take a shot at it.

You would need to add a new config field defining the extra info to display (column header), pack this in to the search index then extract around lines 220 - 230 in search.py

bzeeb avatar Nov 10 '17 03:11 bzeeb