Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filtering for status #122

Open
pidu opened this issue Mar 21, 2018 · 4 comments
Open

Add filtering for status #122

pidu opened this issue Mar 21, 2018 · 4 comments

Comments

@pidu
Copy link

pidu commented Mar 21, 2018

Enable a quick way to filter out services with a particular status. I tried this:

(defun prodigy-add-status-filter ()
  "Read string and add filter for status."
  (interactive)
  (prodigy-with-refresh
   (let ((string (read-string "string: ")))
     (prodigy-add-filter :Status string))
   (ignore-errors
     (prodigy-goto-first-line))))

but I was not successful in my attempt.

@rejeep
Copy link
Owner

rejeep commented Mar 25, 2018

Have you added it to the prodigy-services method?

@Fuco1
Copy link
Collaborator

Fuco1 commented Mar 25, 2018

I suspect :Status should be :status too.

@pidu
Copy link
Author

pidu commented Mar 26, 2018

With your helpful hints I think I got it working.

@pidu
Copy link
Author

pidu commented Apr 11, 2018

Any reason why this can't be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants