From: Steven L. <st...@tu...> - 2004-08-17 17:48:40
|
On Fri, 2004-08-06 at 12:23, Ulf Hallmann wrote: > Hi, > > we ran into the necessity of displaying a filtered PHPWS_List, for > example for displaying all documents of a certain category (which IMHO > is a great value add for doc manager). > > This needs > - a pre-populated drop-down for categories above the list > - the ability to ass a INNER JOIN sql statement to PHPWS_List > - the ability to pass a parameter to PHPWS_Pager for the correct > pre-selection of the drop-down. > > While adding the drop-down control is a piece of cake, actually > passing a JOIN statement needs customizazion in > - /core/list.php: > class variable $join, analogue to $where, including a setter > functtion > setter for $params to be passed to pager. > - core/pager.php > evaulation of URI parameters with $params analogue to $anchors. > > I am hesitant to post this as a core issue, as the main drivers for > this would be the models which are using the list object. However, if > people think that this is a valuable improvement of the core, I will > be more than happy to submit my code. I would like to see your diffs if the code is already written. -- Steven |