diff --git a/src/app/search/search-entry-table.component.html b/src/app/search/search-entry-table.component.html index 342d31b2c..6bda9ce8a 100644 --- a/src/app/search/search-entry-table.component.html +++ b/src/app/search/search-entry-table.component.html @@ -41,7 +41,7 @@ - +
{{ entry?.source | entryToDisplayName: true }}
-
+
star_rate - {{ entry?.source.starredUsers.length }} + {{ entry?.source.starredUsers.length }}
-
+
{{ entry?.source.topicAutomatic }}
- -
- account_circle -
-
- +
+
- +
{{ this.searchEverythingFriendlyNames.get(highlight.key.toString()) }}:
-
-
- + + + person + + + history + Last updated {{ entry?.source.last_modified_date ? (entry?.source.last_modified_date | date) : 'n/a' }} + + + - {{ + {{ entry?.source.descriptorType | descriptorLanguage }} @@ -106,19 +114,13 @@ - {{ entry?.source.descriptorTypeSubclass }} -
- +
diff --git a/src/app/search/search-entry-table.component.scss b/src/app/search/search-entry-table.component.scss index 4617066eb..56e008c68 100644 --- a/src/app/search/search-entry-table.component.scss +++ b/src/app/search/search-entry-table.component.scss @@ -36,9 +36,22 @@ color: $header-color; } +.mat-icon-sm { + vertical-align: text-bottom; +} + ::ng-deep .sort-by { .mat-form-field-wrapper { // Removing the padding because we don't need hint padding-bottom: 0; } } + +.mat-cell { + overflow: visible; // Needed so the mat-card's box-shadow is displayed +} + +.search-highlighting { + border-collapse: separate; + border-spacing: 1rem; +} diff --git a/src/app/search/search-entry-table.component.ts b/src/app/search/search-entry-table.component.ts index 84085511a..b560e3492 100644 --- a/src/app/search/search-entry-table.component.ts +++ b/src/app/search/search-entry-table.component.ts @@ -134,8 +134,8 @@ export class SearchEntryTableComponent extends Base implements OnInit { public sortOptions: SortOption[] = [ this.defaultSortOption, { - label: 'Least Stars', - sort: { active: 'starredUsers', direction: 'asc' }, + label: 'Recently Updated', + sort: { active: 'last_modified_date', direction: 'desc' }, }, { label: 'Name, A-Z', diff --git a/src/app/shared/styles/entry-table.scss b/src/app/shared/styles/entry-table.scss index c82d767d9..4bead7c00 100644 --- a/src/app/shared/styles/entry-table.scss +++ b/src/app/shared/styles/entry-table.scss @@ -48,7 +48,3 @@ th { white-space: nowrap; vertical-align: top; } - -.mat-cell { - overflow: visible; // Needed so the mat-card's box-shadow is displayed -}