jan-vince / smallrecords

OctoberCMS plugin to store and manage records and lists
MIT License
30 stars 11 forks source link

How to implement search ? #68

Closed Inklementia closed 4 years ago

Inklementia commented 4 years ago

great plugin but how to make records searchable?

SalocinDotTEN commented 4 years ago

I think basically you can code your own using the eloquent or database query that octobercms provides.

What I did was to look through the source to see what models are being used and then use them in the queries.

jan-vince commented 4 years ago

Hi @Inklementia,

for very simple search you can use Collection method search().

I have in my todo to implement SiteSearch.

Inklementia commented 4 years ago

thanks! and yep, that would be awesome)

Sent from my iPhone

On 29 Jul 2020, at 18:17, Jan Vince notifications@github.com wrote:

 Hi @Inklementia,

for very simple search you can use Collection method search().

I have in my todo to implement SiteSearch.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.