Project

General

Profile

Actions

Bug #46383

closed

levelmedia ignores sorting of media records

Added by Benjamin Robinson about 11 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-03-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Precondition: a page with multiple FAL media records (images).

The sorting of media records is ignored. If the sorting is changed afterwards, it does not affect the order of the "FILES":

page.10 = COA
page.10{
  stdWrap.wrap = <ul>|</ul>
  stdWrap.required = 1
  10 = FILES
  10 { 
     references{
       data =  levelmedia:-1, slide
       treatIdAsReference = 1
     }
     renderObj = IMAGE
     renderObj {
       stdWrap.wrap = <li>|</li>
       stdWrap.required = 1
       file.import.data = file:current:originalUid // file:current:uid
    }
  }
}

This does work (but without "slide"):

page.10 = COA
page.10{
  stdWrap.wrap = <ul>|</ul>
  stdWrap.required = 1
  10 = FILES
  10 { 
     references{
       table = pages
       uid.data = page:uid
       fieldName = media
     }
     renderObj = IMAGE
     renderObj {
       stdWrap.wrap = <li>|</li>
       stdWrap.required = 1
       file.import.data = file:current:originalUid // file:current:uid
    }
  }
}


Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Bug #43691: Media Image Import is brokenClosed2012-12-06

Actions
Related to TYPO3 Core - Epic #54260: WP: FAL Missing Issues / Features / APIClosed2012-04-222014-02-15

Actions
Related to TYPO3 Core - Bug #56150: Exception with "Hidden" sys_file_references when using levelmedia - RootlineUtility::enrichWithRelationFields ignores disable fieldClosed2014-02-20

Actions
Related to TYPO3 Core - Bug #54884: RootlineUtility does not consider foreign_sorting for relation fieldsClosedMarkus Klein2014-01-09

Actions
Related to TYPO3 Core - Bug #54884: RootlineUtility does not consider foreign_sorting for relation fieldsClosedMarkus Klein2014-01-09

Actions
Actions

Also available in: Atom PDF