Skip to content

Commit

Permalink
circ_policies ui: increase API size limit
Browse files Browse the repository at this point in the history
* Closes rero#405

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
  • Loading branch information
zannkukai committed Sep 16, 2019
1 parent f601159 commit d6c687e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions ui/src/app/core/item-type/item-type.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
import { ApiService } from '../api/api.service';

const httpOptions = {
headers: new HttpHeaders({
'Accept': 'application/json',
'Content-Type': 'application/json'
})
}),
params: new HttpParams()
.set('size', '9999')
};

@Injectable()
Expand Down
6 changes: 4 additions & 2 deletions ui/src/app/core/library/library.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
import { ApiService } from '../api/api.service';

const httpOptions = {
headers: new HttpHeaders({
'Accept': 'application/json',
'Content-Type': 'application/json'
})
}),
params: new HttpParams()
.set('size', '9999')
};

@Injectable()
Expand Down
6 changes: 4 additions & 2 deletions ui/src/app/core/patron-type/patron-type.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
import { ApiService } from '../api/api.service';

const httpOptions = {
headers: new HttpHeaders({
'Accept': 'application/json',
'Content-Type': 'application/json'
})
}),
params: new HttpParams()
.set('size', '9999')
};

@Injectable()
Expand Down

0 comments on commit d6c687e

Please sign in to comment.