1
0

Disabled Search option for wordpress Service because Binaural is not working

This commit is contained in:
Siroco 2019-10-21 20:37:21 +02:00
parent 952a48ece0
commit 0798c388a7
5 changed files with 27 additions and 11 deletions

12
package-lock.json generated
View File

@ -298,9 +298,9 @@
} }
}, },
"@angular/cdk": { "@angular/cdk": {
"version": "7.3.7", "version": "8.2.3",
"resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-7.3.7.tgz", "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-8.2.3.tgz",
"integrity": "sha512-xbXxhHHKGkVuW6K7pzPmvpJXIwpl0ykBnvA2g+/7Sgy5Pd35wCC+UtHD9RYczDM/mkygNxMQtagyCErwFnDtQA==", "integrity": "sha512-ZwO5Sn720RA2YvBqud0JAHkZXjmjxM0yNzCO8RVtRE9i8Gl26Wk0j0nQeJkVm4zwv2QO8MwbKUKGTMt8evsokA==",
"requires": { "requires": {
"parse5": "^5.0.0", "parse5": "^5.0.0",
"tslib": "^1.7.1" "tslib": "^1.7.1"
@ -467,9 +467,9 @@
"dev": true "dev": true
}, },
"@angular/material": { "@angular/material": {
"version": "7.3.7", "version": "8.2.3",
"resolved": "https://registry.npmjs.org/@angular/material/-/material-7.3.7.tgz", "resolved": "https://registry.npmjs.org/@angular/material/-/material-8.2.3.tgz",
"integrity": "sha512-Eq+7frkeNGkLOfEtmkmJgR+AgoWajOipXZWWfCSamNfpCcPof82DwvGOpAmgGni9FuN2XFQdqP5MoaffQzIvUA==", "integrity": "sha512-SOczkIaqes+r+9XF/UUiokidfFKBpHkOPIaFK857sFD0FBNPvPEpOr5oHKCG3feERRwAFqHS7Wo2ohVEWypb5A==",
"requires": { "requires": {
"tslib": "^1.7.1" "tslib": "^1.7.1"
} }

View File

@ -13,12 +13,12 @@
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^8.2.11", "@angular/animations": "^8.2.11",
"@angular/cdk": "^7.3.7", "@angular/cdk": "^8.2.3",
"@angular/common": "8.2.11", "@angular/common": "8.2.11",
"@angular/compiler": "8.2.11", "@angular/compiler": "8.2.11",
"@angular/core": "8.2.11", "@angular/core": "8.2.11",
"@angular/forms": "8.2.11", "@angular/forms": "8.2.11",
"@angular/material": "^7.3.7", "@angular/material": "^8.2.3",
"@angular/platform-browser": "8.2.11", "@angular/platform-browser": "8.2.11",
"@angular/platform-browser-dynamic": "8.2.11", "@angular/platform-browser-dynamic": "8.2.11",
"@angular/router": "8.2.11", "@angular/router": "8.2.11",

View File

@ -1,5 +1,21 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { MatSelectModule,MatStepperModule,MatCheckboxModule,MatPaginatorModule,MatFormFieldModule,MatTabsModule, MatDialogModule, MatProgressBarModule, MatInputModule, MatToolbarModule,MatMenuModule, MatTableModule, MatCardModule, MatButtonModule, MatSidenavModule, MatIconModule, MatListModule, } from '@angular/material'; import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatDialogModule } from '@angular/material/dialog';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';
import { MatListModule } from '@angular/material/list';
import { MatMenuModule } from '@angular/material/menu';
import { MatPaginatorModule } from '@angular/material/paginator';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { MatSelectModule } from '@angular/material/select';
import { MatSidenavModule } from '@angular/material/sidenav';
import { MatStepperModule } from '@angular/material/stepper';
import { MatTableModule } from '@angular/material/table';
import { MatTabsModule } from '@angular/material/tabs';
import { MatToolbarModule } from '@angular/material/toolbar';
const materialModules = [ const materialModules = [
MatTabsModule, MatTabsModule,

View File

@ -27,7 +27,7 @@ export class GridComponent implements OnInit {
items:Item[]=[]; items:Item[]=[];
feeds = [ feeds = [
{type:"wordpress", search:"", categories:"https://www.gransassolagaich.it/wp-json/wp/v2/categories", url:"https://www.gransassolagaich.it/wp-json/wp/v2/posts?_embed",slug:'bambun',name:"Bambun",status:-1,per_page:10,page:1,total_pages:0}, {type:"wordpress", search:"", categories:"https://www.gransassolagaich.it/wp-json/wp/v2/categories", url:"https://www.gransassolagaich.it/wp-json/wp/v2/posts?_embed",slug:'bambun',name:"Bambun",status:-1,per_page:10,page:1,total_pages:0},
// {type:"wordpress", search:"", categories:"https://www.archive.binauralmedia.org/wp-json/wp/v2/categories", url:"https://www.archive.binauralmedia.org/wp-json/wp/v2/avada_portfolio?_embed",slug:'binauralnodar',name:"Binaural",status:-1,per_page:10,page:1,total_pages:0}, {type:"wordpress", search:"", categories:"https://www.archive.binauralmedia.org/wp-json/wp/v2/categories", url:"https://www.archive.binauralmedia.org/wp-json/wp/v2/avada_portfolio?_embed",slug:'binauralnodar',name:"Binaural",status:-1,per_page:10,page:1,total_pages:0},
// {type:"wordpress", url:"http://backend.industriapaisaia.eus/wp-json/wp/v2/posts?_embed",name:"Local",status:0}, // {type:"wordpress", url:"http://backend.industriapaisaia.eus/wp-json/wp/v2/posts?_embed",name:"Local",status:0},
{type:"geojson", search:"", categories:"",url:"http://www.soinumapa.net/geojson/",name:"Audiolab",slug:"soinumapa",status:0,per_page:20,page:1,total_pages:0}, {type:"geojson", search:"", categories:"",url:"http://www.soinumapa.net/geojson/",name:"Audiolab",slug:"soinumapa",status:0,per_page:20,page:1,total_pages:0},
{type:"omeka", search:"", categories:"http://oralitat", url:"https://tramontana.audio-lab.org/oralitatdegasconha/",name:"Oralitat de Gasconha",slug:'oralitatgasconha',status:-1,per_page:10,page:1,total_pages:0}, {type:"omeka", search:"", categories:"http://oralitat", url:"https://tramontana.audio-lab.org/oralitatdegasconha/",name:"Oralitat de Gasconha",slug:'oralitatgasconha',status:-1,per_page:10,page:1,total_pages:0},

View File

@ -12,7 +12,7 @@ export class WordpressService {
params: { params: {
per_page: feed.per_page, per_page: feed.per_page,
page: feed.page, page: feed.page,
search: feed.search, //search: feed.search,
}, },
observe: 'response', observe: 'response',
}); });