Блог пользователя mkagenius

Автор mkagenius, 11 лет назад, По-английски

Bug in search box. Reproduction: 0. Visit : http://mirror.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.

  • Проголосовать: нравится
  • +15
  • Проголосовать: не нравится

»
11 лет назад, # |
  Проголосовать: нравится -12 Проголосовать: не нравится

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 лет назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

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 :)