special-gallery: scope image prev/next/back to special galleries; add tests
This commit is contained in:
@@ -122,7 +122,7 @@ def render_directory(request, path_text, full_path, special=None):
|
||||
image_data = []
|
||||
for image in images:
|
||||
rel_path = image.relative_to(settings.GALLERY_ROOT)
|
||||
image_url = gallery_url(rel_path, False, query_state)
|
||||
image_url = gallery_url(rel_path, False, query_state, special)
|
||||
|
||||
thumbnail = None
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user