Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sympa
sympa
Commits
1f06130f
Unverified
Commit
1f06130f
authored
Apr 26, 2019
by
Luc Didry
Browse files
Fix #31 — Fix order of list’s config params
parent
cbc02daa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/List.pm
View file @
1f06130f
...
...
@@ -7896,9 +7896,9 @@ sub get_db_field_type {
## Sort function for writing config files
sub
_by_order
{
((
$
Sympa::ListDef::
pinfo
{
$
main::
a
||
''}{'
order
'}
||
0
)
<=>
(
$
Sympa::ListDef::
pinfo
{
$
main::
b
||
''}{'
order
'}
||
0
))
||
((
$
main::
a
||
'')
cmp
(
$
main::
b
||
''));
((
$
Sympa::ListDef::
pinfo
{
$a
||
''}{'
order
'}
||
0
)
<=>
(
$
Sympa::ListDef::
pinfo
{
$b
||
''}{'
order
'}
||
0
))
||
((
$a
||
'')
cmp
(
$b
||
''));
}
## Apply defaults to parameters definition (%Sympa::ListDef::pinfo)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment