def redirect.sort.stay
import emerging-ezhttp@0.21.0.0/src/redirect.bend as Redirectimport Base
198# a reference that is not a path from the root: one the client stays on, or
199# a relative one
200def redirect.sort.stay(stay: Bool, query: Bool) -> Sort:
201 match stay:
202 case True{}:
203 Stay{}
204 case False{}:
205 redirect.sort.rel(query)