Skip to content

v2.2.9.9

Choose a tag to compare

@Robbie1977 Robbie1977 released this 15 Sep 12:00
· 284 commits to master since this release
58dfbe4

Preserve carousel element order from server

Changes

  • VFBTermInfo.js: Rewrite orderCarouselElements() to preserve position order within templates
  • Removed carouselImageIdOf() (unused after sort rewrite)
  • Updated comment explaining within-template order is preserved from server

Impact

Works with VFBquery v1.22.54 to show template's indexed (painted-domain) images first in carousel. Fixes VFB2#500

Details

The sort algorithm now:

  1. Orders by template rank (main carousel templates → unindexed images)
  2. Within same template, preserves server order (no ID-based re-sort)
  3. Unindexed templates sort by ID descending (backward compat)

Depends on: VFBquery ≥ v1.22.54