fixed order of tag media
This commit is contained in:
parent
038e4a3399
commit
b8e8a0c334
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import Data.Maybe
|
|||
|
||||
getTagR :: Text -> Handler Html
|
||||
getTagR tag = do
|
||||
tempMedia <- runDB $ selectList [] [Asc MediumTitle]
|
||||
tempMedia <- runDB $ selectList [] [Desc MediumTitle]
|
||||
almostMedia <- mapM (\a -> do
|
||||
case tag `elem` (mediumTags $ entityVal a) of
|
||||
True -> return (Just a)
|
||||
|
|
Loading…
Reference in a new issue