Hi Deborah -
Funny enough, that is the post I was referencing in my initial posting that I did not understand (pasted below) - Damon makes reference to "the hidden checkbox on the record" which I could not find at all (unless it is staring me in the face) and "adding the following to the view options" and I was just unclear if it is the view options on the page (like below) or somehow in the CMS section. I wasn't sure if I was just supposed to create a "hidden" checkbox field and magically it would adopt those properties but since my "do_not_display" field was essentially the same thing with a different name. I included a screenshot of the current fieldlist in the leadership_sales section.
The alternative method he proposes is essentially the method you proposed and it has the same impact on the total count as your proposed method and i wanted to avoid writing record count code etc since the built in method does it so elegantly.
In any case, that is my current conundrum.
thanks again for looking around.
$searchTables['x_leadership_sales'] = array(
'viewerUrl' => 'about-leadership.php',
'titleField' => 'title',
'summaryField' => 'content',
'searchFields' => array('title','content'),
'ignoreHidden' => true,
);
One way you can exclude records from the multiSearch would be to use the "hidden" checkbox on the record. The record would then not appear in the search results.
To be able to link to the record directly and it have it display (even when marked as hidden) would require that you add the following to the View Options:
'ignoreHidden' => true, // don't hide records with hidden flag set
Hope this helps. If you need any additional details about the steps or have questions, just let me know.