git-svn-id: https://msi/svn/firstRepo/Service/branches/Manut_2.2.3@71 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-03-01 14:20:31 +00:00
parent 7a8491c572
commit 4170597626
4 changed files with 31 additions and 11 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ $app->get('/photos/', function () use ($app) {
$app->get('/ricetta/:itemID/photos', function ($itemID) use ($app) {
$callbackFn = $app->request()->get('callback');
$query = "SELECT id as id_photo, type_format, from_profile_id, uploaded_date, profilo.Name as profile_name, published from immagini" .
$query = "SELECT id as id_photo, type_format, from_profile_id, uploaded_date, profilo.Name as profile_name, published, bCover from immagini" .
" INNER JOIN profilo ON profilo.ProfiloID = immagini.from_profile_id".
" WHERE id_ricette = " . $itemID;