feat: add support for alternatives

This commit is contained in:
relikd
2022-07-23 13:58:46 +02:00
parent eb0a60ab33
commit fb8321744e
2 changed files with 14 additions and 9 deletions

View File

@@ -84,7 +84,7 @@ class GroupBySource(VirtualSourceObject):
@property
def url_path(self) -> str:
# Actual path to resource as seen by the browser
return build_url([self.record.path, self.slug]) # slug can be None!
return build_url([self.record.url_path, self.slug]) # slug can be None
def iter_source_filenames(self) -> Iterator[str]:
''' Enumerate all dependencies '''