#142 open
Tom Locke

scope search should search inner fields

Reported by Tom Locke | July 31st, 2008 @ 04:31 PM | in Beyond Hobo 1.0

Comments and changes to this ticket

  • Tom Locke

    Tom Locke July 31st, 2008 @ 04:31 PM

    • State changed from “new” to “open”
  • Bryan Larsen

    Bryan Larsen May 4th, 2009 @ 07:15 PM

    • Tag changed from models, search to defect, models, search

    Hey Tom, could you explain what you want here? Looking at the code, it appears that searches are performed on all models that the user has permission to view/link that have searchable columns.

  • Tom Locke

    Tom Locke May 5th, 2009 @ 09:46 AM

    Sorry for the not very clear ticket name. This issue concerns the search scope in automatic_scopes.rb, not the "site wide" search.

  • Bryan Larsen

    Bryan Larsen May 12th, 2009 @ 06:18 PM

    • Title changed from “Search doesn't work properly with has_many :through” to “scope search should search inner fields”
    • Tag changed from defect, models, search to enhancement, models, search
    • Milestone changed from Hobo 1.0 - Final to Beyond Hobo 1.0

    Looking at the code, search doesn't handle any sort of associations, so this is an enhancement rather than a defect.

    The impetus comes because this is used in table plus. Users expect to be able to search every column in a table.

  • Matt Jones

    Matt Jones November 8th, 2009 @ 08:52 PM

    • Assigned user set to “Matt Jones”

    I've actually knocked together a limited version of this in one of my apps; I'll see if I can generalize it when I get a minute.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages