Small tweak on search result for people matching on an alias.
This commit is contained in:
parent
a01f656654
commit
940fe80609
3 changed files with 6 additions and 10 deletions
|
|
@ -74,6 +74,7 @@ public class MetadataController(IUnitOfWork unitOfWork, ILocalizationService loc
|
|||
{
|
||||
return Ok(await unitOfWork.PersonRepository.GetAllPeopleDtosForLibrariesAsync(User.GetUserId(), ids));
|
||||
}
|
||||
|
||||
return Ok(await unitOfWork.PersonRepository.GetAllPeopleDtosForLibrariesAsync(User.GetUserId()));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -118,17 +118,12 @@
|
|||
width="24px" [imageUrl]="imageService.getPersonImage(item.id)" [errorImage]="imageService.noPersonImage"></app-image>
|
||||
</div>
|
||||
<div class="ms-1">
|
||||
<div>{{item.name}}</div>
|
||||
<div>
|
||||
{{item.name}}
|
||||
</div>
|
||||
@if (item.aliases.length > 0) {
|
||||
|
||||
<span class="small-text">
|
||||
{{t('person-aka-label')}}
|
||||
@for(alias of item.aliases; track alias; let last = $last) {
|
||||
<span>{{alias}}</span>
|
||||
@if (!last) {
|
||||
<span>, </span>
|
||||
}
|
||||
}
|
||||
{{t('person-aka-status')}}
|
||||
</span>
|
||||
}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1860,7 +1860,7 @@
|
|||
"all-filters": "Smart Filters",
|
||||
"nav-link-header": "Navigation Options",
|
||||
"close": "{{common.close}}",
|
||||
"person-aka-label": "{{person-detail.aka-title}}:"
|
||||
"person-aka-status": "Matches an alias"
|
||||
},
|
||||
|
||||
"promoted-icon": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue