Merge develop-filters into develop branch #25
|
@ -95,7 +95,8 @@ export class SearchFilterComponent implements OnInit, OnChanges {
|
|||
}
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue