mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-21 13:17:13 +00:00
sort saved
This commit is contained in:
parent
87a7662c94
commit
9fc7c1380b
3
state.go
3
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 {
|
||||
|
|
Loading…
Reference in a new issue