Loading...
 
Skip to main content

File gallery uses same offset for all galleries

Status
Open
Subject
File gallery uses same offset for all galleries
Version
18.x Regression
Category
  • Bug
  • Easy for Newbie Dev
  • Less than 30-minutes fix
Feature
File Gallery (elFinder or standard UI)
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(0)
Description

When you are in file galleries, some file galleries may contain more images than others. If you are on page 2 (or subsequent) of the sub-gallery you are currently browsing, the according page is loaded with parameter offset=25.

From this view, you can directly click another gallery from the tree that is displayed on the left-hand side.

But ALL subgalleries in the tree are linked with parameter offset=25, so when you click one that does not have more than 25 entries, you get the error message (information) that there is nothing to be displayed...

So either change the logic that all subgalleries in the left-hand tree are linked with their root (offset 0) or display the last possible page of that gallery, when it gets clicked. I would prefer the former.

Thanks
hman

Importance
6
Easy to solve?
8
Priority
48
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7713
Created
Sunday 28 March, 2021 11:32:34 UTC
by hman
LastModif
Sunday 28 March, 2021 11:32:34 UTC


Show PHP error messages