Typo: restruct_sr -> restrict_sr

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-07-05 22:00:31 -04:00
parent c199a4f712
commit 2c2c1b9302
+1 -1
View File
@@ -86,7 +86,7 @@ func setQuery(v string) SearchOptionSetter {
// setRestrict sets the restrict_sr option.
func setRestrict(opts SearchOptions) {
opts.Set("restruct_sr", "true")
opts.Set("restrict_sr", "true")
}
// Posts searches for posts.