Project

General

Profile

Actions

Feature proposal #6250

closed

Improve random order by

Added by krileon about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
18 October 2016
Due date:
% Done:

100%

Estimated time:

Description

Currently it's random per session/gallery, which it should be random on each build (e.g. if no id is preset).

https://www.joomlapolis.com/forum/255-developer-members-support/235033-finding-gallery-id-from-cb-gallery-plugin

Actions #1

Updated by krileon over 7 years ago

  • Target version changed from 2.1.0 to 4.0.0
Actions #2

Updated by krileon over 7 years ago

  • Target version changed from 4.0.0 to 2.1.0

Generate the random string and save it to session separate from the gallery, but is attached to the gallery id. This would allow a new random display on every view of a gallery, but allow it to persist through paging without having to mess with the gallery object session caching.

Actions #3

Updated by krileon over 7 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

The random order by seed is now always refreshed on initial views and only persists for paging purposes. Page 1 will always generate a new random seed. This ensures each view of the gallery is always random.

Actions #4

Updated by krileon over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF