-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Milestone
Description
I have created a sortable list:
$pb9 = new Fieldmanager_Group( array(
'name' => 'model_package',
'limit' => 0,
'label' => 'Model Package',
'collapsed' => true,
'label_macro' => array( 'Package: %s', 'title' ),
'sortable' => true,
'add_more_label' => __( 'Add another package', 'title' ),
'children' => array(
'heading' => new Fieldmanager_Checkbox( array('name' => 'heading',
'label' => 'Package heading',
) ),
'title' => new Fieldmanager_Textfield( 'Attribute title' ),
'img' => new Fieldmanager_Media( 'Link image if needed' ),
'gl' => new Fieldmanager_Textfield( 'GL value' ),
'sport' => new Fieldmanager_Textfield( 'Sport value' ),
'limited' => new Fieldmanager_Textfield( 'Limited value' )
),
) );
$pb9->add_meta_box( 'Model Package', array( 'models' ) );
I have done this many times, but this list is much longer than any other I have done before around 100 list items.
When I move an item to another position and save the post the moved item has saved in a different position, usually 1 below the position it was moved to.
I have removed any characters from the input fields that might be causing issues e.g. &,'() etc.
Can you think of anything I can try to resolve this issue?
Metadata
Metadata
Assignees
Labels
No labels