resources in books: show links to other sections in which this resource is used
This commit is contained in:
parent
8fafa41809
commit
c029e98878
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class SectionView(Base, ConceptView):
|
||||||
|
|
||||||
def getParentsForResource(self, r):
|
def getParentsForResource(self, r):
|
||||||
for c in r.context.getConcepts([self.defaultPredicate]):
|
for c in r.context.getConcepts([self.defaultPredicate]):
|
||||||
if c.conceptType not in (self.documentTypeType, self.sectionType):
|
if c != self.context and c.conceptType != self.documentTypeType:
|
||||||
yield c
|
yield c
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue