Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Add a basic livesearch for jobs list

#16

Reported by theirishpenguin · December 16th, 2008 @ 11:56 PM

State: resolved
Milestone: 0.1
Assigned to: theirishpenguin theirishpenguin

Activity

  1. theirishpenguin
    theirishpenguin
    • State changed from new to resolved

    Implemented.

    December 16th, 2008 @ 11:57 PM

  2. Gavin Joyce
    Gavin Joyce
    • Tag set to search
    • State changed from resolved to open

    Thanks for this implementation.

    I'm going to add a :search action to the JobsController which will return a collection of jobs based on the search term. I think that the live search should hook in with this, that way all the job data can be searched.

    http://rubyjobs.lighthouseapp.co...

    I'm going to reopen the ticket so that we can track this until completion.

    December 17th, 2008 @ 05:43 PM

  3. Gavin Joyce
    Gavin Joyce

    The :index action in the JobsController now responds_to :js. The live search should make an ajax get against this - I've added a temp example of this - the search button makes the ajax call.

    December 17th, 2008 @ 08:19 PM

  4. theirishpenguin
    theirishpenguin

    Last comment implemented. It's wired up to the keypress event - please advise if this is less than ideal.

    Also, we should be able to remove the public/javascripts/jquery.livesearch.js now.

    December 17th, 2008 @ 10:24 PM

  5. Gavin Joyce
    Gavin Joyce
    • State changed from open to resolved

    January 3rd, 2009 @ 03:40 PM

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.