Scott Yeadon - 2007-10-17

Logged In: YES
user_id=1103084
Originator: YES

Further comment from Christiaan Kortekaas, UQ:

Sorry - the sql for fez 2 to get the parent pid and title would be this:

$stmt = "SELECT ".APP_SQL_CACHE."
r1.rek_pid, r1.rek_title
FROM
" . APP_TABLE_PREFIX . "record_search_key r1 inner join
" . APP_TABLE_PREFIX . "record_search_key_".$sek_title."
m1 on r1.rek_pid = m1.rek_".$sek_title." AND m1.rek_".$sek_title."_pid =
'".$pid."'";

So obviously it needs to take into the function the $pid of the object we
are trying to file the parents of.

Still very simple.