Skip to content
Snippets Groups Projects
Commit 4f5588be authored by Allen Gilliland's avatar Allen Gilliland
Browse files

Merge pull request #1412 from metabase/sort_qb_table_list

sort tables in the QB data selector drop down by their display name.
parents 98962163 ec4a4e76
No related branches found
No related tags found
No related merge requests found
......@@ -109,8 +109,11 @@ export default class DataSelector extends Component {
name: table.display_name,
database: database,
table: table
}))
}))
})).sort(function(a, b) {
return a.name.localeCompare(b.name);
})
}));
} else {
sections = [{
items: this.props.databases.map(database => ({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment