Bubble Chart links are off by one if bubble size variable is selected before item and label
Closed, ResolvedPublic

Description

Example query:

#defaultView:BubbleChart
SELECT ?count ?item ?itemLabel WHERE {
  VALUES (?count ?item ?itemLabel) {
    (3 wd:Q42 "Douglas Adams"@en)
    (2 wd:Q5 "human"@en)
    (1 wd:Q1 "universe"@en)
  }
}

Link

Clicking on the Douglas Adams bubble has no effect, clicking on the human bubble opens the Douglas Adams item, and clicking on the universe bubble opens the human item: the links are offset by one from the bubble labels.

Workaround: move ?count behind ?item ?itemLabel. (Looks like this is the conventional order anyways, if this bug was only discovered now…)

Restricted Application added a project: Discovery. · View Herald TranscriptDec 27 2016, 7:37 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 329353 had a related patch set uploaded (by Lucas Werkmeister):
Fix T154194: bubble chart url off-by-one error

https://gerrit.wikimedia.org/r/329353

Change 329353 merged by jenkins-bot:
Fix T154194: bubble chart url off-by-one error

https://gerrit.wikimedia.org/r/329353

Jonas moved this task from Proposed to Done on the Wikidata-Sprint board.
thiemowmde closed this task as Resolved.Jan 3 2017, 1:27 PM