Restores alpha sorting of item subfields in add/edit screen
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit
ea2ace41a44cba0485be9e7cbece5e4782d2ad38)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
}
}
}
+@loop_data = sort {$a->{subfield} cmp $b->{subfield} } @loop_data;
# what's the next op ? it's what we are not in : an add if we're editing, otherwise, and edit.
$template->param( title => $record->title() ) if ($record ne "-1");