filter does not work in web ui #7

Closed
simonmichael opened this Issue Apr 8, 2013 · 2 comments

Projects

None yet

1 participant

@simonmichael
Owner

Original author: s.asta...@gmail.com (July 07, 2009 07:31:41)

Either in local hledger, or at http://hledger.org:5000/, whatever I enter
in “Filter by” field has no effect. A screenshot is attached.

Javascript is enabled. Tried various browsers: Iceweasel 3.0.6, Firefox
3.5, Epiphany.

hledger-0.6.1

Original issue: http://code.google.com/p/hledger/issues/detail?id=7

@simonmichael
Owner

From s.asta...@gmail.com on July 07, 2009 12:14:54
Actually "action" is missing in the HTML:

 <form action=""
  >&nbsp;filter by:&nbsp;<input type="text" name="a" id="a" size="20" value=""
 />&nbsp;&nbsp;reporting period:&nbsp;<input type="text" name="p" id="p" size="20"

value=""
/>

@simonmichael
Owner

From simon@joyful.com on July 09, 2009 14:56:53
Thanks! This broke for some browsers in 0.6 when I added a second input field. Safari allows enter to submit a
form with more than one field, but Firefox does not. I've added a hidden submit button to work around this. I
also fixed a bug with the reset link and tested this form in safari 4, firefox 3.5, lynx and w3m on a mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment