Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Allow a name to be defined to be display in search results. #38

merged 2 commits into from Oct 22, 2013


None yet
3 participants

markprovan commented Apr 12, 2013

While the current implementation uses the class name in the search results. It would be good to be able to define our own custom names. This PR addresses that by allowing the user to define this in the model:

def friendly_search_name

Seems like a reasonable API. Since it's already using a helper there it seems like it would be better to add this logic to the helper.


markprovan commented Apr 13, 2013

@gwagener Agreed. Will make the relavent changes.

@parndt parndt added a commit that referenced this pull request Oct 22, 2013

@parndt parndt Merge pull request #38 from markprovan/master
Allow a name to be defined to be display in search results.

@parndt parndt merged commit d1d615d into refinery:master Oct 22, 2013

1 check failed

default The Travis build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment