
Jason
Staff
/ Moderator

Aug 11, 2011, 1:32 PM
Post #2 of 4
(2205 views)
Shortcut
|
|
Re: [rez] multisearch :label and image in results.
[In reply to]
|
Can't Post
|
|
Hi, 1) Since uploads are stored in a different table, multi-search doesn't have a way of returning uploaded records. 2) You can select up to 10 different fields from the section by using the "field" 1-10 option. For example, if you wanted to return the createdDate field, you can do this:
$searchTables = array(); $searchTables['items'] = array( 'viewerUrl' => 'itemDetails.php', 'titleField' => 'name', 'summaryField' => 'description', 'searchFields' => array('name','description','category:label'), 'field1' => 'createdDate', ); 3) List labels are not actually stored in the database, only the values, so there isn't a simple way of searching the labels. If you want to do more complex searches, you may want to consider searching your sections 1 at a time, and then combining the results to output. This would probably give you a greater degree of flexability. Hope this helps --------------------------------------------------- Jason Sauchuk - Programmer interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
|