diff --git a/src/main/kotlin/com/albatros/springsecurity/data/repository/TenderSearchRepository.kt b/src/main/kotlin/com/albatros/springsecurity/data/repository/TenderSearchRepository.kt index ed197ab..139b8e7 100644 --- a/src/main/kotlin/com/albatros/springsecurity/data/repository/TenderSearchRepository.kt +++ b/src/main/kotlin/com/albatros/springsecurity/data/repository/TenderSearchRepository.kt @@ -73,11 +73,10 @@ interface TenderSearchRepository : ElasticsearchRepository { } """ ) + fun fullTextSearchOr(keywords: String, exclude: String): List fun findAllByCategoryIgnoreCase(category: String, pageable: Pageable): List - fun fullTextSearchOr(keywords: String, exclude: String): List - fun findAllByTenderId(tenderId: String, pageable: Pageable): Page fun findAllByCustomerContainsIgnoreCase(customer: String, pageable: Pageable): Page diff --git a/src/main/kotlin/com/albatros/springsecurity/presentation/route/TestRoute.kt b/src/main/kotlin/com/albatros/springsecurity/presentation/route/TestRoute.kt index 0c52a5a..20f2a24 100644 --- a/src/main/kotlin/com/albatros/springsecurity/presentation/route/TestRoute.kt +++ b/src/main/kotlin/com/albatros/springsecurity/presentation/route/TestRoute.kt @@ -78,7 +78,6 @@ class TestRoute(repository: TenderSearchRepository) : VerticalLayout() { sheet, ) } - private fun getLockedSearch(repository: TenderSearchRepository): Div { val select: Select = Select() @@ -245,6 +244,7 @@ class TestRoute(repository: TenderSearchRepository) : VerticalLayout() { private fun getBaseTable(): Grid { + val sheet: Grid = Grid().apply { addColumn(Tender::tenderName) .setHeader("Тендер")