Issue Bug Closed

#17460pi_getPidList selects pages that it shouldn't

Jan Bednarik 07/20/07, 19:47 updated 10/02/18, 12:32

Description

Let’s have such page tree:
- 1
—- 2 (hidden)
———> 3
———> 4
—- 5
—- 6

Now, calling pi_getPidList(1,100) will result in 1,3,4,5,6. Although 3 and 4 shouldn’t be visible.

I guess that $this->enableFields(‘pages’) should be called in SQL queries in tslib_content::getTreeList.
(issue imported from #M6005)

Reviews 0

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