Compare commits

..

No commits in common. "9277eb0cad0f0503ee3cfaff3baac3db62f56e97" and "7beb08c72d4dfe272d917dac7725039201194b3b" have entirely different histories.

4 changed files with 3 additions and 5 deletions

4
.env
View File

@ -15,9 +15,9 @@
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
###> symfony/framework-bundle ###
APP_ENV=prod
APP_ENV=dev
APP_SECRET=c9124e6a5434e81e428ab5236aa6259b
APP_DEBUG=0
APP_DEBUG=1
###< symfony/framework-bundle ###
###> doctrine/doctrine-bundle ###

View File

@ -105,7 +105,6 @@ hgroup,
menu,
nav {
display: block;
width: 250px;
}
body {

View File

@ -39,7 +39,6 @@ class NoteRepository extends ServiceEntityRepository
->orderBy('n.date', 'DESC')
->where('n.title LIKE :query')
->orWhere('n.passage LIKE :query')
->orWhere('n.text LIKE :query')
->andWhere('n.user = :user')
->setParameter('query', "%{$query}%")
->setParameter('user', $userId)

View File

@ -5,7 +5,7 @@
<!-- Search -->
{% if app.user %}
<section id="search" class="alt">
<input type="text" name="query" id="query" placeholder="Search by title, passage, or note" />
<input type="text" name="query" id="query" placeholder="Search for note by title or passage" />
</section>
{% endif %}