fixed search; per status mode still recomended enable

This commit is contained in:
localhost_frssoft 2022-06-20 12:11:03 +03:00
parent 171448a20b
commit feb13c82eb
2 changed files with 6 additions and 2 deletions

View file

@ -5,7 +5,7 @@
"i2p_http_proxy_addr": "http://127.0.0.1:4444", "i2p_http_proxy_addr": "http://127.0.0.1:4444",
"tor_proxy_addr": "socks5://127.0.0.1:9050", "tor_proxy_addr": "socks5://127.0.0.1:9050",
"max_statuses": 40, "max_statuses": 40,
"per_status_mode": false, "per_status_mode": true,
"enabled_nsfw": true, "enabled_nsfw": true,
"nsfw_only": false, "nsfw_only": false,
"hide_reblogs": false, "hide_reblogs": false,

View file

@ -622,7 +622,11 @@ search_api_statuses()
{ {
echo "Input query:" echo "Input query:"
read query read query
results=$(default_curl_opt "$instance_point/search?q=$query&type=statuses" | jj 'statuses') results=$(default_curl_opt --get \
--data-urlencode "q=$query" \
--data-urlencode 'type=statuses' \
--data-urlencode "limit=$max_statuses" \
"$instance_point/search" | jj 'statuses')
timeline='search' timeline_menu timeline='search' timeline_menu
} }