#16 ✓resolved
theirishpenguin

Add a basic livesearch for jobs list

Reported by theirishpenguin | 2008-12-16 23:56:15 UTC | in 0.1

Comments and changes to this ticket

  • theirishpenguin

    theirishpenguin 2008-12-16 23:57:11 UTC

    • State changed from “new” to “resolved”

    Implemented.

  • Gavin Joyce

    Gavin Joyce 2008-12-17 17:43:11 UTC

    • 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.

  • Gavin Joyce

    Gavin Joyce 2008-12-17 20:19:59 UTC

    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.

  • theirishpenguin

    theirishpenguin 2008-12-17 22:24:44 UTC

    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.

  • Gavin Joyce

    Gavin Joyce 2009-01-03 15:40:38 UTC

    • State changed from “open” to “resolved”

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 ยป

A simple job listing app from Ruby Ireland

Shared Ticket Bins

People watching this ticket

Tags

Pages