- Joined
- Dec 1, 2008
- Messages
- 19
- Reaction score
- 26
- Age
- 37
- Gender
- Male
- Country
-
A while ago, the sorting feature on the Manga Editor page stopped working (well, it still sorts by name correctly, but not by releases or fans). I took a look at the Javascript, though, changed some stuff via Firefox's Web Developer plugin, and discovered why -- the names of the fields are being incorrectly passed to the sortResults function.
That is, right now the relevant code is:
Note that the arguments passed to sortResults are "total_releases" and "total_favorites", respectively. To fix the issue, these should be changed to "releases" and "fans".
This is a minor issue, and I'm sure you guys could've fixed it easily enough, but I figured I'd save you a few minutes of debugging anyway.
-Nihil
That is, right now the relevant code is:
Code:
<td style="padding-right: 7px; width: 70px;">
<a onclick="sortResults('total_releases');">Releases</a><span id="sortreleases"></span>
</td>
<td style="padding-right: 7px; width: 70px;">
<a onclick="sortResults('total_favorites');">Fans</a><span id="sortfans"></span>
</td>
This is a minor issue, and I'm sure you guys could've fixed it easily enough, but I figured I'd save you a few minutes of debugging anyway.
-Nihil
