@@ -132,12 +132,15 @@ instance (KnownSymbol sym, HasServer sublayout)
132132 route Proxy subserver request respond = do
133133 let querytext = parseQueryText $ rawQueryString request
134134 param = case lookup paramname querytext of
135− Just Nothing -> True -- param is there, with no value
136− _ -> False -- param not in the query string or with a value
135+ Just Nothing -> True -- param is there, with no value
136+ Just (Just v) -> examine v -- param with a value
137+ Nothing -> False -- param not in the query string
137138
138139 route (Proxy :: Proxy sublayout) (subserver param) request respond
139140
140141 where paramname = cs $ symbolVal (Proxy :: Proxy sym)
142+ examine v | v == "true" || v == "1" || v == "" = True
143+ | otherwise = False
141144
142145instance (KnownSymbol sym, HasClient sublayout)
143146 => HasClient (QueryFlag sym :> sublayout) where