Nikki created this task. Herald added a subscriber: Aklapper. Herald added projects: Wikidata, Discovery.
TASK DESCRIPTION Clicking the headers to sort table columns doesn't work if the column contains blank values. For example, this query: https://query.wikidata.org/#select%20*%20where%20%7B%0Avalues%20%3Fitem%20%7B%20wd%3AQ2%20wd%3AQ183%20wd%3AQ513%20%7D%0A%3Fitem%20wdt%3AP646%20%3Ffreebase%20.%0Aoptional%20%7B%20%3Fitem%20wdt%3AP30%20%3Fcontinent%20.%20%7D%0A%7D The "freebase" column contains no blank values and clicking the header works fine to change the sorting. The "continent" column does contain blank values and if I click the "continent" heading, nothing changes. In the console in Chromium I get `TableResultBrowser.js:88 Uncaught TypeError: Cannot read property 'value' of undefined`. In Firefox, `TypeError: data1 is undefined TableResultBrowser.js:88:3` TASK DETAIL https://phabricator.wikimedia.org/T131550 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikki Cc: Nikki, Aklapper, Avner, debt, Gehel, D3r1ck01, FloNight, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331 _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs