[develop-filters | DONE | CHANGED]: searchFilter.component.ts: In method "_formatTitle()", remove number of filter values from filter name.
This commit is contained in:
parent
84bf8cdebe
commit
01eabb74f3
|
@ -95,7 +95,8 @@ export class SearchFilterComponent implements OnInit, OnChanges {
|
||||||
}
|
}
|
||||||
|
|
||||||
public _formatTitle(title, length) {
|
public _formatTitle(title, length) {
|
||||||
return (((title + " (" + length + ")").length > this._maxCharacters) ? (title.substring(0, (this._maxCharacters - (" (" + length + ")").length - ('...').length)) + "...") : title) + " (" + (length > 95 ? "100" : length) + ")";
|
// return (((title + " (" + length + ")").length > this._maxCharacters) ? (title.substring(0, (this._maxCharacters - (" (" + length + ")").length - ('...').length)) + "...") : title) + " (" + (length > 95 ? "100" : length) + ")";
|
||||||
|
return (((title).length > this._maxCharacters) ? (title.substring(0, (this._maxCharacters - ('...').length)) + "...") : title);
|
||||||
}
|
}
|
||||||
|
|
||||||
public _formatName(value) {
|
public _formatName(value) {
|
||||||
|
|
Loading…
Reference in New Issue