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

Home » RADICORE » How To » How to filter by a parent field in a link1 transaction
Re: How to filter by a parent field in a link1 transaction [message #1504 is a reply to message #1503] Fri, 18 July 2008 06:07 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2363
Registered: April 2006
Location: Surrey, UK
Senior Member
Whoops, my mistake. Embarassed The link object requires special processing which is bypassed with the code I gave you. You should change the line
$this->sql_from    = $this->_sqlForeignJoin($this->sql_select, $this->sql_from, $this->parent_relations);

to
$where_str = $this->_sqlAssembleWhere($where, $where_array);

This should generate the correct sql statement, which you can then modify.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: override noedit on foreign field in multi2
Next Topic: How ro remove the 'page created in' message
Goto Forum:
  


Current Time: Mon Oct 14 08:08:44 EDT 2024

Total time taken to generate the page: 0.01109 seconds