Need way to specify model name in search results #33

Closed
wmakley opened this Issue Feb 3, 2013 · 6 comments

Comments

Projects
None yet
5 participants

wmakley commented Feb 3, 2013

If you have a searchable model like Refinery::News::Item, it will show up as "News::Item" in the search results. Given that module and class names don't necessarily form a human-readable label, a way to override the automatic name with a string would be a ideal. If I find a clean way to get around this, I will submit a pull request.
refinery search results model name issue

Contributor

markprovan commented Mar 12, 2013

I submitted this pull request and it was merged yesterday #35

I agree and "friendly name" would be good.

@markprovan What will that do for News::Item, will it just be "Item"?

Contributor

markprovan commented Apr 11, 2013

Correct

On 11 Apr 2013, at 22:37, Graham Wagener notifications@github.com wrote:

@markprovan What will that do for News::Item, will it just be "Item"?


Reply to this email directly or view it on GitHub.

Contributor

markprovan commented Apr 12, 2013

@gwagener @wmakley I added this a quick fix. Should work for now although I'm not sure if there is a better way. #38

Owner

parndt commented Oct 22, 2013

Merged the quick fix.

parndt closed this Oct 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment