OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
496d925
)
BugTrack/2473 list plugin: Sort heading index
author
umorigu
<umorigu@gmail.com>
Mon, 28 May 2018 15:15:05 +0000
(
00:15
+0900)
committer
umorigu
<umorigu@gmail.com>
Mon, 28 May 2018 15:15:05 +0000
(
00:15
+0900)
lib/func.php
patch
|
blob
|
history
diff --git
a/lib/func.php
b/lib/func.php
index
4d04fb3
..
892ead2
100644
(file)
--- a/
lib/func.php
+++ b/
lib/func.php
@@
-563,7
+563,7
@@
function page_list($pages, $cmd = 'read', $withfilename = FALSE)
}
$list[$head][$page] = $str;
}
- uksort($
pages
, 'strnatcmp');
+ uksort($
list
, 'strnatcmp');
$cnt = 0;
$arr_index = array();