Skip to content

Commit

Permalink
Merge pull request #218 from salmonsd/salmonsd/81-order-sources-table
Browse files Browse the repository at this point in the history
Fix non-alphabetical sort of Source Tables in source overview page
  • Loading branch information
jtcohen6 authored Nov 7, 2021
2 parents c29f042 + 84ad743 commit 22ae51d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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

0 comments on commit 22ae51d

Please sign in to comment.