diff --git a/state.go b/state.go index 84f2579..45c4f08 100644 --- a/state.go +++ b/state.go @@ -160,6 +160,9 @@ func (p State) SortBy(v string) string { if p.Query != "" || p.SearchType == "Communities" { q = "q=" + url.QueryEscape(p.Query) + "&communityname=" + p.CommunityName + "&username=" + p.UserName + "&searchtype=" + p.SearchType + "&" } + if p.Op == "Saved" { + q = "view=Saved&" + } return "?" + q + "sort=" + v + "&listingType=" + p.Listing } func (p State) ListBy(v string) string {