Bug 342324 - Persistent search box inconsistant pre-fill, URL not share-able, Search page strange
Summary: Persistent search box inconsistant pre-fill, URL not share-able, Search page ...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: forum.kde.org
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KDE Forum Administrators
URL: https://forum.kde.org/search.php?keyw...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-30 02:43 UTC by qubodup
Modified: 2024-09-18 19:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qubodup 2014-12-30 02:43:18 UTC
1. When using the forum search, search terms usually are pre-filled in the search form/box on the results page, which is convenient.

Double-quoted terms do not, neither do following terms:
https://forum.kde.org/search.php?keywords=foo+"bar"+tar

Single quotes not affected.
https://forum.kde.org/search.php?keywords=foo+'bar'+tar

2. On related note: searches without results do not pre-fill the search box at all:
https://forum.kde.org/search.php?keywords=akjdfsdf334o3pp"as

3. Regular search doesn't put the search term into the URL, making the results page unusable for bookmarking/sharing.

4. On https://forum.kde.org/search.php the top right search box is grayed out without explanation, which is highly uncommon and thus confusing.

Reproducible: Always

Steps to Reproduce:
1. Go to https://forum.kde.org/search.php?keywords=foo+"bar"+tar
2. Go to https://forum.kde.org/search.php?keywords=akjdfsdf334o3pp"as
3. Go to https://forum.kde.org/index.php and search for "fun"
4. Go to https://forum.kde.org/search.php

Actual Results:  
1. Search box is pre-filled with: foo
2. Search box is not pre-filled
3. URL is https://forum.kde.org/search.php
4. Be confused by the uncommented grayed out search box.

Expected Results:  
1. Search box should be pre-filled with: foo "bar" tar
2. Search box should be pre-filled with: akjdfsdf334o3pp"as
3. URL should be https://forum.kde.org/search.php?keywords=fun
4.a. See a comment (for example HTML title) stating "please use the advanced search form below") clicking the inactive search box should highlight the search box that one is supposed to use and possibly jquery UI highlight it as well
4.b. See no top right search box, instead possibly be confused by its lack but quickly find the search box that should be used.
4.c. See an anker link "jump to search" instead of the top right search box.

Some discussion in https://forum.kde.org/viewtopic.php?f=9&t=122124&p=326675#p326675
Comment 1 James W 2014-12-30 20:40:54 UTC
Hi there,
I can reproduce all these. 

Though I'm not sure whether number 3 is really a problem? One can always get the search link from the "Search found XXX matches ← foo" text above the result list.

(note: I'm a Google Code-in student)
Comment 2 qubodup 2014-12-30 22:07:40 UTC
Hi and thanks.

Update to #3 Expected:

3. URL should be a GET request like https://forum.kde.org/search.php?keywords=fun so that it is consistent with results when using https://forum.kde.org/search.php and so that the link can be instantly bookmarked and/or shared.

I believe that http://www.w3.org/2001/tag/doc/whenToUseGet.html#checklist indicates the GET should be used for search.
Comment 3 Justin Zobel 2021-03-09 05:41:34 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 4 Christoph Cullmann 2024-09-18 19:08:34 UTC
deprecated; please use the new forum at discuss.kde.org