You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In displayHelpers.php::caRepresentationViewerHTMLBundles() when the output array is appended with an 11th value (count > 10) the function breaks both loops and returns the first 11 values.
This bug appears to affect all branches.
The text was updated successfully, but these errors were encountered:
It's a limit that was intentionally added at the request of users back in the day. The idea was to prevent unmanageable lists of media on records where cataloguers had added many many images, often in error.
It would be better to make this configurable, but the limit is still something that some users want/need.
This needs to be reconciled with themeHelpers.php::caObjectRepresentationThumbnails() returning an unlimited list of thumbnails. It is definitely a bug of some kind when one feature is broken by another feature's intentional limitation.
With the slide list and thumbnail list having different ordering, this will be a bit of a challenge. Any solution must also consider that the primary representation could be more than position 11 among existing representations.
When an object has more than 11 representations, all additional reps are
null
in the the slide list.pawtucket2/app/helpers/displayHelpers.php
Line 4242 in 45a83da
In displayHelpers.php::caRepresentationViewerHTMLBundles() when the output array is appended with an 11th value (count > 10) the function breaks both loops and returns the first 11 values.
This bug appears to affect all branches.
The text was updated successfully, but these errors were encountered: