Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » List with pre-defined search active
Re: List with pre-defined search active [message #529 is a reply to message #528] Wed, 10 January 2007 13:09 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2350
Registered: April 2006
Location: Surrey, UK
Senior Member
When the previous screen is reactivated the search criteria are passed to the object in the line
if (isset($search)) {
    $dbobject->setSqlSearch($search);
} // if

The contents of $this->sql_search are then processed by the _sqlAssembleWhere() method which is called in $object->getData() just before the database is accessed. You will need to step through this with your debugger to see what is happening to the string that you loaded.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: many to many and field names
Next Topic: Search when some columns are dropdown lists
Goto Forum:
  


Current Time: Sat May 11 14:34:04 EDT 2024

Total time taken to generate the page: 0.00936 seconds