Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Structure field: adds sort & flip option, fix #722 #749

Closed
wants to merge 6 commits into from
Closed

Structure field: adds sort & flip option, fix #722 #749

wants to merge 6 commits into from

Commits on Feb 6, 2016

  1. Structure field: adds sort & flip option, fix #722

    Adds a `sort` and `flip` option for structure fields
    
    ```php
    structurefield:
        label: Structure with sort and flip
        type: structure
        sort: ordernumber
        flip: true
        fields:
          a:
            label: A
            type:  text
          b:
            label: B
            type: text
          ordernumber:
            label: Order #
            type: number
    ```
    Nico Hoffmann committed Feb 6, 2016
    Configuration menu
    Copy the full SHA
    f65bdb7 View commit details
    Browse the repository at this point in the history
  2. Structure field: Fixed cursor for unsortable table

    Nico Hoffmann committed Feb 6, 2016
    Configuration menu
    Copy the full SHA
    5bede99 View commit details
    Browse the repository at this point in the history
  3. Structure field: sort & flip refactored

    Nico Hoffmann committed Feb 6, 2016
    Configuration menu
    Copy the full SHA
    013e95a View commit details
    Browse the repository at this point in the history
  4. Structure field: also unsortable when flipped

    Nico Hoffmann committed Feb 6, 2016
    Configuration menu
    Copy the full SHA
    106c35f View commit details
    Browse the repository at this point in the history
  5. Structure field: sort & flip cleaner code

    Nico Hoffmann committed Feb 6, 2016
    Configuration menu
    Copy the full SHA
    54c4128 View commit details
    Browse the repository at this point in the history
  6. Structure field: Simplified sort option (+ multi)

    Now also works with multiple sort fields and sort direction:
    
    ```
    sort: fieldone, asc, fieldtwo, desc
    ```
    Nico Hoffmann committed Feb 6, 2016
    Configuration menu
    Copy the full SHA
    7be9bf2 View commit details
    Browse the repository at this point in the history