You are here: Foswiki>Tasks Web>Item14742 (22 Jun 2019, NoraSchnel)Edit Attach

Item14742: JQueryAjaxHelper Jump box: The URL links of the results do not contain the correct web-name

pencil
Priority: Normal
Current State: New
Released In: n/a
Target Release: n/a
Applies To: Extension
Component:
Branches:
Reported By: NoraSchnel
Waiting For:
Last Change By: NoraSchnel
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:

  1. Go to: https://foswiki.org/System/JQueryAjaxHelper#Jump_to_a_topic_in_any_web
  2. In the fields "Local Jump" enter: "Fos"
    (NOTE: same for "Global Jump")
  3. Click on e.g. "FoswikiServerInformation"
  4. 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 wink

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

ItemTemplate edit

Summary JQueryAjaxHelper Jump box: The URL links of the results do not contain the correct web-name
ReportedBy NoraSchnel
Codebase
SVN Range
AppliesTo Extension
Component
Priority Normal
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r3 - 22 Jun 2019, NoraSchnel
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy