Project

General

Profile

« Previous | Next » 

Revision 45444

passing resourcesQuery in pages

View differences:

compatibleDataProviders.component.ts
18 18
    <search-page pageTitle="Compatible Dataproviders" type="datasources" [(filters)] = "filters"
19 19
                 [(results)] = "results"  [(searchUtils)] = "searchUtils"
20 20
                  [baseUrl] = "baseUrl" [showResultCount]=false (queryChange)="queryChanged($event)"
21
                  (downloadClick)="downloadClicked($event)">
21
                  (downloadClick)="downloadClicked($event)" [resourcesQuery]="resourcesQuery" >
22 22
    </search-page>
23 23
    <!--table-view  [(datasources)] = results></table-view-->
24 24

  
......
43 43
                        "export":[]
44 44
                     };
45 45
  public CSVDownloaded = false;
46
  public resourcesQuery = "query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = hostedBy) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))";
46 47

  
47 48
  @ViewChild (SearchPageComponent) searchPage : SearchPageComponent ;
48 49

  

Also available in: Unified diff