diff --git a/src/General/Index.coffee b/src/General/Index.coffee index eb2a529a0..232feba41 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -372,7 +372,7 @@ Index = state.page = 1 else if (sort = Index.hashCommands.sort[command]) state.sort = sort - else if (sort = Index.hashCommands.sort[command.slice(0,-4)]) + else if command.slice(-4) is '-rev' and (sort = Index.hashCommands.sort[command.slice(0,-4)]) state.sort = sort + '-rev' else if /^s=/.test command state.search = decodeURIComponent(command[2..]).replace(/\+/g, ' ').trim()