problems with the authors-view
Posted: Fri Jan 27, 2006 1:39 pm
Hi there,
I made a few changes in the fetch-entries-function. Now, if I select the author underneath each article nothing changes, the view stays the same, whatever author I select.
My question is: is the section which does enables that, this one in the fetch-entries-function:
I can't think of any other; I didn't edit or change anything in that section. What I edited was the range-section. At which parts of this function do I need to have a look to solve this problem?
Would be very kind of you if somebody has an idea
thanks a lot
Stefan
I made a few changes in the fetch-entries-function. Now, if I select the author underneath each article nothing changes, the view stays the same, whatever author I select.
My question is: is the section which does enables that, this one in the fetch-entries-function:
Code: Select all
if (isset($serendipity['GET']['viewAuthor'])) {
$cond['and'] .= " AND e.authorid = ". (int)$serendipity['GET']['viewAuthor'];
}Would be very kind of you if somebody has an idea
thanks a lot
Stefan