cfdocs icon indicating copy to clipboard operation
cfdocs copied to clipboard

Search engine filter

Open shaedrich opened this issue 7 years ago • 5 comments

If I search but only want ACF or Lucee results, it would be nice to have a filter so I don't have to open each document to check for the engine.

You could search for a specific version or only for tags/functions as well.

shaedrich avatar Jan 29 '18 10:01 shaedrich

Realizable with bootstrap-select

shaedrich avatar Jan 31 '18 09:01 shaedrich

That's a great idea... To avoid complicating the UI, perhaps we could just use search language to accomplish this, eg engine:lucee query - that way we could get more specific too down the road engine:cf11

pfreitag avatar Feb 01 '18 16:02 pfreitag

Do you think, that is okay for the users?

Then we should have a help page for this like github already has.

shaedrich avatar Feb 01 '18 16:02 shaedrich

hmm... thinking about your use case for implementing this, what if the autocomplete results just added the engine labels (eg CF9+).

Bootstrap select looks good too, I just don't know how often people need to filter by engine so I am hesitant to give up UI real estate for it... most tags and functions work on both engines.

pfreitag avatar Feb 01 '18 16:02 pfreitag

I also thought about filtering whether tag or function and other possible filters. But yes, in most cases the prefix will suffice.

shaedrich avatar Feb 01 '18 16:02 shaedrich