<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Link to External Data Source dialogue should list HTML tables in order"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=142600">142600</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Link to External Data Source dialogue should list HTML tables in order
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>stephane.guillou@member.fsf.org
</td>
</tr></table>
<p>
<div>
<pre>Description:
When using Sheet > Link to External Data... and pointing to a website that has
more than 9 tables, the order of tables in the dialogue is not the same as in
the source.
Steps to Reproduce:
1. Open Calc
2. Go to "Sheet > Link to External Data..."
3. Paste a URL in "URL of External Data Source", for example
<a href="https://en.wikipedia.org/wiki/QS_World_University_Rankings">https://en.wikipedia.org/wiki/QS_World_University_Rankings</a>
4. Press Enter on the keyboard
5. Use defaults in the "Import Options" dialog and click "OK".
Actual Results:
The tables are listed in the order:
HTML_1
HTML_10
HTML_11
HTML_12
HTML_2
HTML_3
etc.
Expected Results:
The tables should be listed in the same order as in the HTML page's source
code.
Reproducible: Always
User Profile Reset: No
Additional Info:
This matters as you can pick several tables to import. If you pick a range or
cherry-pick a number of them (using Ctrl + click), the user would expect to see
them imported into the spreadsheet in the same order as in the original source.
A cumbersome workaround would be to:
- Import table 1
- Import the ones you want between 2 and 9
- Import the ones you want between 10 and 12
Alternatively, import HTML_tables and remove the ones you don't want to keep.
Tested on 3 versions:
Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: e718f0e703c0fb33a0b1b5efe7b13b02c25f3335
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time:
2021-05-30_21:49:59
Calc: threaded
Version: 7.1.3.2 / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Ubuntu package version: 1:7.0.4_rc2-0ubuntu0.18.04.2
Calc: threaded</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>