Merge pull request #18 in ~VLE2FE/definma-ui from master to development
* commit '524c456195794bc4c81450d8dbabb09e335dc33a': v0.5.5 v0.5.4 v0.5.3 v0.5.2 status fix for sample_references v0.5.1 v0.5.0 v0.4.2 v0.4.1 v0.4.0 v0.3.1 name update v0.3.0
This commit is contained in:
commit
79a2ad59f2
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ui",
|
||||
"version": "0.0.0",
|
||||
"name": "definma",
|
||||
"version": "0.5.5",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
|
@ -493,7 +493,7 @@ export class SampleComponent implements OnInit, AfterContentChecked {
|
||||
return new Observable(observer => {
|
||||
if (value !== '') {
|
||||
this.api.get<{ _id: string, number: string }[]>(
|
||||
'/samples?status=all&page-size=25&sort=number-asc&fields[]=number&fields[]=_id&' +
|
||||
'/samples?status[]=validated&status[]=new&page-size=25&sort=number-asc&fields[]=number&fields[]=_id&' +
|
||||
'filters[]=%7B%22mode%22%3A%22stringin%22%2C%22field%22%3A%22number%22%2C%22values%22%3A%5B%22' + value + '%22%5D%7D', data => {
|
||||
console.log(data);
|
||||
this.sampleReferenceAutocomplete[this.currentSRIndex] = data.map(e => e.number);
|
||||
|
Loading…
Reference in New Issue
Block a user