i switched back to the existing function and interestingly the title is present in the returned object on the server side, but does not make it to the browser (see screenshot - the var dump is directly after the ajax method returns and dumps the json.data.result). any ideas?

From: Jonathan Johnson <notifications@github.com<mailto:notifications@github.com>>
Reply-To: Jazzee/Jazzee <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Thursday, September 19, 2013 1:30 PM
To: Jazzee/Jazzee <Jazzee@noreply.github.com<mailto:Jazzee@noreply.github.com>>
Cc: larry roberts <lawrence.roberts@ucsf.edu<mailto:lawrence.roberts@ucsf.edu>>
Subject: Re: [Jazzee] added tag choosing to the grid (#245)


In src/Jazzee/Entity/TagRepository.php:

> @@ -26,4 +26,17 @@ public function findByApplication(Application $application)
>      return $query->getResult();
>    }
>
> +  /**
> +   * this was added because the findByApplication method only returns the tag
> +   * ids, not the titles. we can merge if the other method is not needed
> +   */
> +  public function findByApplication2(Application $application)


findByApplication returns tag object, you can get the title with $tag->getTitle()
so this method seems unnecessary. If you want to get tags as an array instead of objects then call this method, findByApplicationArray which matches the convention in other repositories.

—
Reply to this email directly or view it on GitHub<https://github.com/Jazzee/Jazzee/pull/245/files#r6472340>.