Commit 05076867 authored by Nico Schallehn's avatar Nico Schallehn

Schauspielersortierung

parent d2182e0f
...@@ -175,6 +175,7 @@ class MediaDBViewerAPI{ ...@@ -175,6 +175,7 @@ class MediaDBViewerAPI{
} }
if($ListSchauspieler){ if($ListSchauspieler){
$Query = 'SELECT group_concat(s.name) AS Schauspieler FROM FilmSchauspieler AS fs JOIN Schauspieler AS s ON fs.schauspielerID = s.schauspielerID WHERE fs.imdbID="'.$entry["imdbID"].'" ORDER BY s.name'; $Query = 'SELECT group_concat(s.name) AS Schauspieler FROM FilmSchauspieler AS fs JOIN Schauspieler AS s ON fs.schauspielerID = s.schauspielerID WHERE fs.imdbID="'.$entry["imdbID"].'" ORDER BY s.name';
$this->DebugOut($Query);
$Schauspieler = $this->DB_Objekt->query($Query); $Schauspieler = $this->DB_Objekt->query($Query);
if($this->DB_Objekt->error != ""){ return $this->error(1005, $this->DB_Objekt->error);} if($this->DB_Objekt->error != ""){ return $this->error(1005, $this->DB_Objekt->error);}
$SchauspielerArr = $Schauspieler->fetch_array(); $SchauspielerArr = $Schauspieler->fetch_array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment