FIX: Bookmark search fixes (#10239)

* Remove unneeded bookmark name index.
* Change bookmark search query to use post_search_data. This allows searching on topic title and post content
* Tweak the style/layout of the bookmark list so the search looks better and the whole page fits better on mobile.
This commit is contained in:
Martin Brennan
2020-07-17 15:55:07 +10:00
committed by GitHub
parent ff7678e210
commit 716ccf7fe4
7 changed files with 131 additions and 54 deletions

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class RemoveUnneccessaryBookmarkNameIndex < ActiveRecord::Migration[6.0]
def change
remove_index :bookmarks, :name
end
end