Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-alphabetical sort of Source Tables in source overview page #218

Merged
merged 3 commits into from
Nov 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
## dbt 0.20.1rc1 (Release TBD)
## dbt-core 1.0.0rc1 (Release TBD)

- Fix non-alphabetical sort of Source Tables in source overview page ([docs#81](https://github.com/dbt-labs/dbt-docs/issues/81))

Contributors:
- [@salmonsd](https://github.com/salmonsd) ([docs#81](https://github.com/dbt-labs/dbt-docs/issues/81))

## dbt 0.20.1rc1 (August 02, 2021)

- Fix docs site crash if `relationships` test has one dependency instead of two ([docs#207](https://github.com/dbt-labs/dbt-docs/issues/207), ([docs#208](https://github.com/dbt-labs/dbt-docs/issues/208)))

Expand Down
3 changes: 3 additions & 0 deletions src/app/sources/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ angular
if (sources.length == 0) {
return;
}

// sort sources by sources.name
sources.sort((a,b) => a.name.localeCompare(b.name));

var source = sources[0];

Expand Down