mkagenius's blog

By mkagenius, 11 years ago, In English

Bug in search box. Reproduction: 0. Visit : http://codeforces.com/contest/351/standings 1. Click on search arrow, the search box now shows up. 2. Type 'a'. Then press 'backspace'. 3. The page should have all the 100 results, but it is empty.

  • Vote: I like it
  • +15
  • Vote: I do not like it

»
11 years ago, # |
  Vote: I like it -12 Vote: I do not like it

I don't think that is a bug. Because you press 'a', and backspace, so you are search someone who's handle is ''(empty),obviously no result shows up. Type any valid handle you will find some results about that.

»
11 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

all standard javascript search plugins ( bootstrap typeahead , jqyery autocomplete , ... ) will show all the items if the search box is empty !

it's uncomfortable .

there is no ajax call (for search box) so they don't need to change server side code !

@MikeMirzayanov : just change a single ( or maybe two ) lines of code :)