Skip to content

Commit

Permalink
Remove tracing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wwtamu committed Apr 17, 2024
1 parent b1824da commit fd000cd
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/app/core/shared/value-list-browse-definition.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,6 @@ export class ValueListBrowseDefinition extends NonHierarchicalBrowseDefinition {
};

getRenderType(): string {
// FIXME
// 4/17/2024 9:03 AM CDT https://github.com/DSpace/dspace-angular/blob/dspace-7.6.1/src/app/core/shared/non-hierarchical-browse-definition.ts
// dataType: BrowseByDataType;

// 4/17/2024 9:03 AM CDT https://github.com/DSpace/dspace-angular/blob/dspace-7.6.1/src/app/browse-by/browse-by-switcher/browse-by-decorator.ts#L9
// export enum BrowseByDataType {
// Title = 'title',
// Metadata = 'text',
// Date = 'date'
// }

// 4/17/2024 9:03 AM CDT https://github.com/DSpace/dspace-angular/blob/dspace-7.6.1/src/app/core/shared/value-list-browse-definition.resource-type.ts
// ...
// 4/17/2024 9:05 AM CDT https://github.com/DSpace/dspace-angular/blob/dspace-7.6.1/src/app/shared/object-list/metadata-representation-list-element/browse-link/browse-link-metadata-list-element.component.ts
// 4/17/2024 9:06 AM CDT https://github.com/DSpace/dspace-angular/blob/dspace-7.6.1/src/app/shared/object-list/metadata-representation-list-element/browse-link/browse-link-metadata-list-element.component.html#L5
// ...
// 4/17/2024 9:10 AM CDT https://github.com/DSpace/dspace-angular/blob/dspace-7.6.1/src/app/item-page/simple/metadata-representation-list/themed-metadata-representation-list.component.ts
// 4/17/2024 9:10 AM CDT https://github.com/DSpace/dspace-angular/blob/dspace-7.6.1/src/app/item-page/simple/metadata-representation-list/metadata-representation-list.component.html
// ...
// 4/17/2024 9:11 AM CDT https://github.com/DSpace/dspace-angular/blob/dspace-7.6.1/src/app/shared/metadata-representation/metadata-representation-loader.component.ts
// 4/17/2024 9:11 AM CDT https://github.com/DSpace/dspace-angular/blob/dspace-7.6.1/src/app/shared/metadata-representation/metadata-representation-loader.component.html

// Return `VALUE_LIST_BROWSE_DEFINITION.value` for simple item view to render a link for 'dc.contributor.author' or 'dc.creator' of Person item type to the correct browse by URL with queryParam `value` and not `startsWith`.
// https://github.com/DSpace/dspace-angular/blob/dspace-7.6.1/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html#L29

// return this.dataType;
return this.type.value;
}
}

0 comments on commit fd000cd

Please sign in to comment.