Feature/collection search filter

This would cause a compilation error as ‘abstract’ is a reserved keyword.
From: Jeffrey Licht [mailto:notifications@github.com]
Sent: Wednesday, November 19, 2014 15:13
To: harvard-library/librarycloud_collections
Cc: Renaud Holcombe
Subject: Re: [librarycloud_collections] Feature/collection search filter (#5)


In src/main/java/edu/harvard/lib/librarycloud/collections/CollectionsAPI.java:

> @@ -47,12 +47,42 @@

>      @GET @Path("collections")

>      @JSONP(queryParam = "callback")

>      @Produces({"application/javascript", MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML + ";qs=0.9"})

> -    public List<Collection> getCollections(@QueryParam("contains") String contains) {

> +    public List<Collection> getCollections(@QueryParam("contains") String contains,@QueryParam("q") String q,

> +            @QueryParam("title") String title, @QueryParam("abstract") String a,

Call this abstract rather than a

—
Reply to this email directly or view it on GitHub<https://github.com/harvard-library/librarycloud_collections/pull/5/files#r20603824>.