This commit is contained in:
2018-03-04 13:43:58 -05:00
parent c425c1542f
commit 2a3b0509a8
6 changed files with 100 additions and 36 deletions

View File

@@ -21,8 +21,8 @@ export class GamesService {
private http: HttpClient
){ }
getGames( ): Observable<any> {
return this.http.get( this.APIURL + "/games?filter=Played,eq,true&page=1&order=Title&transform=1" )
getGames( queryFilters, querryPage, queryOrder ): Observable<any> {
return this.http.get( this.APIURL + "/games?filter="+ queryFilters +"&page="+ querryPage +"&order="+ queryOrder +"&transform=1" )
.map(res => {
return(
res