Commit fdd46710 authored by Célia Michotey's avatar Célia Michotey
Browse files

Comment button and fix xref bug. GNP-5482

parent 4765537e
......@@ -11,6 +11,7 @@ import fr.inra.urgi.faidare.elasticsearch.query.impl.ESGenericQueryFactory;
import fr.inra.urgi.faidare.repository.http.UserGroupsResourceClient;
import org.elasticsearch.action.search.SearchRequest;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.action.support.IndicesOptions;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearch.index.query.QueryBuilder;
......@@ -71,7 +72,8 @@ public class XRefDocumentRepositoryImpl implements XRefDocumentRepository {
SearchRequest searchRequest = new SearchRequest()
.indices(aliases)
.source(source);
.source(source)
.indicesOptions(IndicesOptions.fromOptions(true, false, false, false));
SearchResponse response = client.search(searchRequest, RequestOptions.DEFAULT);
......
......@@ -46,14 +46,14 @@
<img src="{{ navbar.contributor.logo }}" alt="{{ navbar.contributor.name }} logo" height="60px"/>
</a>
<div>
<a [routerLink]="['/']"
<!--<a *ngIf="displayBackButton"
[routerLink]="['/']"
[queryParams]="previousQueryParam">
<button *ngIf="displayBackButton" type="button" class="btn btn-secondary">
<button type="button" class="btn btn-secondary">
< Back to form
</button>
</a>
</a>-->
</div>
</div>
</nav>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment