Fix candidate sorting in template
This commit is contained in:
1 parent
771d8e7aca
commit
40dc385d7b
1 file changed
+1
-1
@@ -103,7 +103,7 @@ function sluggify($input) {
|
|||||||
if ($a == $b) {
|
if ($a == $b) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return (((int) $a) < ((int) $b)) ? 1 : -1;
|
return (((int) $a['Rating']) < ((int) $b['Rating'])) ? 1 : -1;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (count($wardCandidates) > 0):
|
if (count($wardCandidates) > 0):
|
||||||
|
|||||||
Reference in new issue
Block a user