Compare commits
No commits in common. "9277eb0cad0f0503ee3cfaff3baac3db62f56e97" and "7beb08c72d4dfe272d917dac7725039201194b3b" have entirely different histories.
9277eb0cad
...
7beb08c72d
4
.env
4
.env
@ -15,9 +15,9 @@
|
|||||||
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
||||||
|
|
||||||
###> symfony/framework-bundle ###
|
###> symfony/framework-bundle ###
|
||||||
APP_ENV=prod
|
APP_ENV=dev
|
||||||
APP_SECRET=c9124e6a5434e81e428ab5236aa6259b
|
APP_SECRET=c9124e6a5434e81e428ab5236aa6259b
|
||||||
APP_DEBUG=0
|
APP_DEBUG=1
|
||||||
###< symfony/framework-bundle ###
|
###< symfony/framework-bundle ###
|
||||||
|
|
||||||
###> doctrine/doctrine-bundle ###
|
###> doctrine/doctrine-bundle ###
|
||||||
|
@ -105,7 +105,6 @@ hgroup,
|
|||||||
menu,
|
menu,
|
||||||
nav {
|
nav {
|
||||||
display: block;
|
display: block;
|
||||||
width: 250px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
@ -39,7 +39,6 @@ class NoteRepository extends ServiceEntityRepository
|
|||||||
->orderBy('n.date', 'DESC')
|
->orderBy('n.date', 'DESC')
|
||||||
->where('n.title LIKE :query')
|
->where('n.title LIKE :query')
|
||||||
->orWhere('n.passage LIKE :query')
|
->orWhere('n.passage LIKE :query')
|
||||||
->orWhere('n.text LIKE :query')
|
|
||||||
->andWhere('n.user = :user')
|
->andWhere('n.user = :user')
|
||||||
->setParameter('query', "%{$query}%")
|
->setParameter('query', "%{$query}%")
|
||||||
->setParameter('user', $userId)
|
->setParameter('user', $userId)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<!-- Search -->
|
<!-- Search -->
|
||||||
{% if app.user %}
|
{% if app.user %}
|
||||||
<section id="search" class="alt">
|
<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>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user