git.cweiske.de
/
stouyapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af099a
)
ignore case when sorting games by name
author
Christian Weiske
<
[email protected]
>
Wed, 8 Jan 2020 21:56:43 +0000
(22:56 +0100)
committer
Christian Weiske
<
[email protected]
>
Wed, 8 Jan 2020 21:56:43 +0000
(22:56 +0100)
bin/import-game-data.php
patch
|
blob
|
history
diff --git
a/bin/import-game-data.php
b/bin/import-game-data.php
index 5486ef5d13d2806251ecab4d8ee0d4f5c60d8f75..e5d62e9b9ae10991d6c1f6f00f7db2aecff98e86 100755
(executable)
--- a/
bin/import-game-data.php
+++ b/
bin/import-game-data.php
@@
-215,7
+215,7
@@
function buildDiscoverCategory($name, $games)
usort(
$games,
function ($gameA, $gameB) {
- return strcmp($gameA->title, $gameB->title);
+ return strc
asec
mp($gameA->title, $gameB->title);
}
);
$chunks = array_chunk($games, 4);