discourse/app
Régis Hanol f421d9bdd6
FIX: only de-prioritise exact matches in mentions (#11843)
Not when doing a site-wide search like we do in the Directory.

This solves the following specfailure:

  1) DirectoryItemsController with data finds user by name
     Failure/Error: expect(json['directory_items'].length).to eq(1)

       expected: 1
            got: 0

       (compared using ==)
     # ./spec/requests/directory_items_controller_spec.rb:88:in `block (3 levels) in <main>'
     # ./spec/rails_helper.rb:271:in `block (2 levels) in <top (required)>'
     # ./bundle/ruby/2.7.0/gems/webmock-3.11.1/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
2021-01-25 21:27:15 +01:00
..
assets UX: respect email_editable site setting in user activation page. (#11835) 2021-01-25 22:19:26 +05:30
controllers FIX: reindex_search job should work on model with no search data (#11819) 2021-01-25 11:23:36 +01:00
helpers FIX: Cleanup authentication_data cookie after login (#11834) 2021-01-25 13:47:44 +00:00
jobs FIX: reindex_search job should work on model with no search data (#11819) 2021-01-25 11:23:36 +01:00
mailers FEATURE: reason to reject user signup (#11700) 2021-01-15 09:43:26 +11:00
models FIX: only de-prioritise exact matches in mentions (#11843) 2021-01-25 21:27:15 +01:00
serializers FIX: Update categories without full page refresh (#11793) 2021-01-22 10:21:09 +02:00
services FIX: Destroy associated user api keys when making a user anonymous. (#11760) 2021-01-25 11:07:22 -03:00
views FIX: Cleanup authentication_data cookie after login (#11834) 2021-01-25 13:47:44 +00:00