diff --git a/apps/datahub/src/app/home/header-badge-button/header-badge-button.component.css b/apps/datahub/src/app/home/header-badge-button/header-badge-button.component.css
index 81b42abeaf..e69de29bb2 100644
--- a/apps/datahub/src/app/home/header-badge-button/header-badge-button.component.css
+++ b/apps/datahub/src/app/home/header-badge-button/header-badge-button.component.css
@@ -1,3 +0,0 @@
-mat-icon {
- font-variation-settings: 'FILL' 1;
-}
diff --git a/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.stories.ts b/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.stories.ts
index 8a382eb52c..94d61ccaed 100644
--- a/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.stories.ts
+++ b/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.stories.ts
@@ -1,15 +1,10 @@
import { TranslateModule } from '@ngx-translate/core'
-import {
- componentWrapperDecorator,
- Meta,
- moduleMetadata,
- StoryObj,
-} from '@storybook/angular'
+import { Meta, moduleMetadata, StoryObj } from '@storybook/angular'
import {
TRANSLATE_DEFAULT_CONFIG,
UtilI18nModule,
} from '@geonetwork-ui/util/i18n'
-import { UiInputsModule, ButtonComponent } from '@geonetwork-ui/ui/inputs'
+import { ButtonComponent } from '@geonetwork-ui/ui/inputs'
import { PaginationButtonsComponent } from './pagination-buttons.component'
import { FormsModule } from '@angular/forms'
import { action } from '@storybook/addon-actions'
diff --git a/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css b/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css
index 37815a4641..415c6399e7 100644
--- a/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css
+++ b/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css
@@ -9,12 +9,6 @@ mat-icon {
width: 1em;
height: 1em;
font-size: 1.5em;
- margin-top: -0.1em;
- font-variation-settings: 'opsz' 40;
-}
-
-.star-filled {
- font-variation-settings: 'FILL' 1;
}
.star-toggle-overlay {
diff --git a/libs/ui/search/src/lib/record-table/record-table.component.html b/libs/ui/search/src/lib/record-table/record-table.component.html
index 750bb3b409..249ef181d4 100644
--- a/libs/ui/search/src/lib/record-table/record-table.component.html
+++ b/libs/ui/search/src/lib/record-table/record-table.component.html
@@ -23,13 +23,13 @@
>
record.metadata.title
expand_more
expand_less
record.metadata.author
expand_more
expand_less
- record.metadata.completion
+ record.metadata.updatedOn
expand_more
expand_less
record.metadata.createdOn
expand_more
expand_less = {
+ component: RecordTableComponent,
+ title: 'Search/RecordTableComponent',
+ decorators: [
+ moduleMetadata({
+ declarations: [RecordTableComponent],
+ imports: [UiInputsModule, MatIconModule],
+ }),
+ ],
+ render: (args: RecordTableComponent) => ({
+ props: {
+ ...args,
+ recordSelect: action('recordSelect'),
+ sortByChange: action('sortByChange'),
+ },
+ }),
+}
+export default meta
+type Story = StoryObj
+
+export const Primary: Story = {
+ args: {
+ records: DATASET_RECORDS.concat(DATASET_RECORDS, DATASET_RECORDS),
+ totalHits: 1234,
+ },
+}
diff --git a/libs/ui/search/src/lib/record-table/record-table.component.ts b/libs/ui/search/src/lib/record-table/record-table.component.ts
index a64c25f8d8..e98926e42a 100644
--- a/libs/ui/search/src/lib/record-table/record-table.component.ts
+++ b/libs/ui/search/src/lib/record-table/record-table.component.ts
@@ -83,6 +83,7 @@ export class RecordTableComponent {
newOrder = 'asc'
}
this.sortByChange.emit([newOrder, col])
+ this.sortBy = [newOrder, col]
}
isSortedBy(col: string, order: 'asc' | 'desc'): boolean {