Item14742: JQueryAjaxHelper Jump box: The URL links of the results do not contain the correct web-name
Priority: Normal
Current State: New
Released In: n/a
Target Release: n/a
Applies To: Extension
Component:
Branches:
After entering a query in the
JQueryAjaxHelper jump box, the links of the results are "hard-wired" to the Main-web instead of the web where the pages are effectively located. As a result, when clicking on a jump box query result, the page "Topic 'BlaBla' does not exist" is shown on the Main-web.
How to reproduce the error:
- Go to: https://foswiki.org/System/JQueryAjaxHelper#Jump_to_a_topic_in_any_web
- In the fields "Local Jump" enter: "Fos"
(NOTE: same for "Global Jump")
- Click on e.g. "FoswikiServerInformation"
- Instead of opening the page System/FoswikiServerInformation the page Main/FoswikiServerInformation is tried to be opened resulting in the error: 'FoswikiServerInformation' does not exist
Conclusion: instead of properly using the correct Web-name of the topic in the links of the jump-box results, the Main-web is always used resulting in a wrong URL.
--
NoraSchnel - 05 Aug 2018
No responses so far, so I want to give this a little "bump".
Fixing this bug would help, I believe, to overcome one of the biggest usability issue of
FosWiki, which is the ability to quickly find pages again, especially after some time has passed (= not remembering the exact
WikiWord or pages where they are linked).
The easy fix is to replace the default topic Jump box in the top bar WebTopBar with the jQuery Jump box from
JQueryAjaxHelper. To this end I put the following code:
<input type="text" class="foswikiInputField jqJumpBox {global: true, baseweb:'all, -Trash'} name="topic" placeholder="Type topic name (also * is possible)" autocomplete="on" ui-autocomplete-input" size="35">
That is working nicely and the topics are listed rapidly (also * can be used in the search). BUT clicking the topic in the list to jump to the topic does not work, because of the BUG I described above. Fixing this bug would make
FosWiki so much faster and easier to use. Hope someone reads this
--
NoraSchnel - 09 Aug 2018
Just a little bump after 10 months. Could someone be so kind to have a look, please? It doesn't seem such a complicated bug to fix. Must have been working before.
--
NoraSchnel - 22 Jun 2019