admin
Karma: 57
|
Re:pathway... - 2008/11/25 10:00
I guess this is because you have a single top level container, that is now bypassed (by popular request) when Remository is entered at the top level. So you are getting one pathway entry for Remository itself and one for the top level container.
The answer seems to be that Remository should ignore the top level container if it is the only top level container. The tricky thing is to figure out where in the code to do this. Certainly the pathway methods would be part of it.
Probably combined with a call to remositoryContainerManger. Since all containers are read (one big SQL operation instead of potentially many small SQL operations - especially when SEF is in use on links created by modules) the cost of asking remositoryContainerManager to return all the top level containers just to count them is quite small.
I'll try to include this into version 3.47.
Martin Brampton aka Counterpoint http://black-sheep-research.com http://mamboguru.com |