You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec
unarist 004672aa6c Fix tag search order and not to use tsvector (#3611)
* Sort results by the name
* Switch search method to simple `LIKE` matching instead of tsvector/tsquery

Previously we used scores from ts_rank_cd() to sort results, but it didn't work
because the function returns same score for all results. It's not for calculate
similarity of single words. Sometimes this bug even push out exact matching tag
from results.

Additionally, PostgreSQL supports prefix searching with standard btree index.
Using it offers simpler code, but also less index size and some speed.
8 years ago
..
controllers Redirect to streaming_api_base_url (#3579) 8 years ago
fabricators Remove redundant code in AtomSerializer and spec (#3528) 8 years ago
features Add scenarios for log in (#3497) 8 years ago
fixtures A minor change for ProviderDiscovery and spec (#3543) 8 years ago
helpers Hold value of I18n.locale with ApplicationHelperSpec (#3474) 8 years ago
javascript Add quotes ESLint rules (#3602) 8 years ago
lib Introduce StatusThreadingConcern (#3490) 8 years ago
mailers Misc spec coverage improvements (#2821) 8 years ago
models Fix tag search order and not to use tsvector (#3611) 8 years ago
policies Add status destroy authorization to policy (#3453) 8 years ago
presenters Use around hook to restore context in InstancePresenter spec (#3430) 8 years ago
requests Remove the react-rails gem (#2801) 8 years ago
routing Spec coverage and refactor for the api/v1/accounts controllers (#3451) 8 years ago
services Don't follow account if it's already followed (#3575) 8 years ago
support Spec ScopedSettings (#3559) 8 years ago
views Update rails to version 5.0.3 (#3054) 8 years ago
workers Specs for cleanup workers (#3235) 8 years ago
rails_helper.rb Disable sidekiq logging in test mode (#2962) 8 years ago
spec_helper.rb