1

Topic: search in 'Comment' column

Hi all,
I would like to search not only in predefined column such as "Name", "Nature", "Source", "Location", etc.
Is it possible to search in all columns in one time, or add some other particular columns?

Otherwise, we are really grateful for your work!
Thank you!
Karel

2

Re: search in 'Comment' column

Unfortunately, no. But if you really need this feature [will be there in the new release (can't say when)], let me know. I can suggest some simple code modification.

3

Re: search in 'Comment' column

Thanks for your quick response. It would be great to know how to do it. I'm end user, however I can pass your suggestion to our IT guys.
Thx

4

Re: search in 'Comment' column

OK, I'll get back to you in 1-2 days.

5

Re: search in 'Comment' column

You must have noted that LabStoRe does give the option to search against two columns. It also has a somewhat hidden interface for more advanced search. For easier access to that interface I suggest modifying the file 'top_part.php'. The modification adds a link to the 'Advanced' search page. This may not be the best solution but it is simple and saves me time ;)

Look for the following piece of code towards the middle...

echo ('<input type="hidden" name="order_condition" id="order_condition" value="'.$order_condition.'" />
<input type="submit" value="Find" name="submit_find" id="submit_find" />
<a href="../help/help.htm#search" onclick="return popitup(\'../help/help.htm#search\')">?
</a></p></form>');
}
// end - build search form

... and replace it with

echo ('<input type="hidden" name="order_condition" id="order_condition" value="'. $order_condition. '" />
<input type="submit" value="Find" name="submit_find" id="submit_find" />
<a href="../interface_creator/index_long.php?function=show_search_form&amp;table_name='. $table. '">Advanced</a>
<a href="../help/help.htm#search" onclick="return popitup(\'../help/help.htm#search\')">?
</a></p></form>');
}
// end - build search form