Issue Feature Closed

#20119set more parameters of pi_list_query individually

David Bruchmann 03/03/09, 01:38 updated 05/08/13, 15:43

Description

In pi_list_query $pidList is taken from the global conf-array.
Overwriting this Array can be confusing and shouldn’t be done because it should be treatend as Array of static values in my opinion.

I’d prefer beeing able to send my own values as parameters in this way:

pi_list_query($table,$count=0,$addWhere=’‘,$mm_cat=’‘,$groupBy=’‘,$orderBy=’‘,$query=’‘,$returnQueryArray=FALSE, $confPidList=$this->conf[‘pidList’], $confRecursiv=$this->conf[‘recursive’]
…
$pidList = $this->pi_getPidList($confPidList, $confRecursiv);
…

Requirement of my proposition comes from working with different tables.
Alltogether it’s possible but not very practicable to change all parameters of pi_base for every table.
(issue imported from #M10589)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.