From 5012687b41f12c2459771bc290ec988822f46ee5 Mon Sep 17 00:00:00 2001 From: Josh Rose Date: Mon, 30 Sep 2019 17:33:07 +0200 Subject: [PATCH 1/4] fix: Correctly quote column names --- packages/strapi-hook-bookshelf/lib/queries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/strapi-hook-bookshelf/lib/queries.js b/packages/strapi-hook-bookshelf/lib/queries.js index cad6b08f1d..a97e6d646d 100644 --- a/packages/strapi-hook-bookshelf/lib/queries.js +++ b/packages/strapi-hook-bookshelf/lib/queries.js @@ -547,7 +547,7 @@ const buildSearchQuery = (qb, model, params) => { const searchQuery = searchText.map(attribute => _.toLower(attribute) === attribute ? `to_tsvector(${attribute})` - : `to_tsvector('${attribute}')` + : `to_tsvector("${attribute}")` ); qb.orWhereRaw(`${searchQuery.join(' || ')} @@ plainto_tsquery(?)`, query); From 9cbfaac46596a06e34f52ad940dd56057a7a4471 Mon Sep 17 00:00:00 2001 From: Andre van Tonder Date: Wed, 2 Oct 2019 07:42:42 +1000 Subject: [PATCH 2/4] Fix typo in strapi install command for graphql Yeah, I don't think installing the documentation plugin will install graphql --- docs/3.0.0-beta.x/guides/graphql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/3.0.0-beta.x/guides/graphql.md b/docs/3.0.0-beta.x/guides/graphql.md index e9ee0c0653..d5886d9721 100644 --- a/docs/3.0.0-beta.x/guides/graphql.md +++ b/docs/3.0.0-beta.x/guides/graphql.md @@ -29,7 +29,7 @@ npm run strapi install graphql ::: tab "strapi" id="strapi" ``` -strapi install documentation +strapi install graphql ``` ::: From acf5d7c08e5921f2c925757249aec863249cd306 Mon Sep 17 00:00:00 2001 From: websocket98765 <41795874+websocket98765@users.noreply.github.com> Date: Wed, 2 Oct 2019 01:52:44 +0000 Subject: [PATCH 3/4] Update README.md --- packages/strapi-provider-upload-aws-s3/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/strapi-provider-upload-aws-s3/README.md b/packages/strapi-provider-upload-aws-s3/README.md index f5e05fa6aa..9fff54f66a 100644 --- a/packages/strapi-provider-upload-aws-s3/README.md +++ b/packages/strapi-provider-upload-aws-s3/README.md @@ -1,4 +1,4 @@ -# strapi-provider-upload-local +# strapi-provider-upload-s3 ## Resources From fa10c384b656b4c68f98b8726047c2ca1f8f7866 Mon Sep 17 00:00:00 2001 From: Jim LAURIE Date: Wed, 2 Oct 2019 17:29:04 +0200 Subject: [PATCH 4/4] Remove Heroku button --- README.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/README.md b/README.md index d897513555..f91a0e382c 100644 --- a/README.md +++ b/README.md @@ -107,22 +107,6 @@ This project is currently in **Beta**. Significant breaking changes are unlikely **[See more on our website](https://strapi.io/overview)**. -### Try on Heroku - -You can also give it a try using Heroku in one click! - - - Deploy - - -Be aware that the Content Type Builder won't work due to the restriction of writing files on the Heroku servers. If you would like to change/edit/add Content Types, you need to follow these steps: - -1. Click the button above and deploy your app -2. Clone that repo by using `heroku git:clone -a` followed by your repo's name -3. Go into the cloned projects' folder using `cd` followed by your repo's name -4. Add the Heroku boilerplate as a remote by running `git remote add boilerplate https://github.com/strapi/strapi-heroku-app` -5. Pull from this new origin by running `git pull boilerplate master` - ## Contributing Please read our [Contributing Guide](./CONTRIBUTING.md) before submitting a Pull Request to the project.