mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 02:39:47 +02:00
Add browse filter and light sidebar options
Add overload to force library item art display
This commit is contained in:
parent
5f3d59ed74
commit
0630676eb6
26 changed files with 163 additions and 136 deletions
|
@ -97,9 +97,9 @@ class Label extends database_object implements library_item
|
|||
return true;
|
||||
}
|
||||
|
||||
public function display_art($thumb)
|
||||
public function display_art($thumb, $force = false)
|
||||
{
|
||||
if (Art::has_db($this->id, 'label')) {
|
||||
if (Art::has_db($this->id, 'label') || $force) {
|
||||
Art::display('label', $this->id, $this->get_fullname(), $thumb, $this->link);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue