Project

General

Profile

« Previous | Next » 

Revision 54614

1. Add map url in 'Search Content Providers', 'Search Registries', 'Search Repositories' (Compatible), 'Search Journals' pages.
2. Add tooltips in csv button, table/list view buttons, map button.
3. compatibleDataProvidersTable.component & entityRegistriesTable.component: Add 'Country' filtering in 'Search Registries' and 'Search Repositories' (Compatible) pages.
4. searchHelperClasses.class: Add 'valueIsExact' field in class 'Filter' - so far filter values should be equal to entry of the corresponding column, 'country' needs to be contained.
5. searchPageTableView.component.ts: Bug fix in filtering - when entry's value is too big, do not ignore cut values in filtering.

View differences:

entityRegistries.component.ts
22 22
                 [csvParams]="csvParams" csvPath="datasources"
23 23
                 [disableForms]="disableForms"
24 24
                 [tableViewLink]="'/search/entity-registries-table'"
25
                 searchFormClass="entityRegistriesSearchForm">
25
                 searchFormClass="entityRegistriesSearchForm"
26
                 [mapUrl]="mapUrl" [mapTooltipType]="'registries'"
27
                 [newQueryButton]="false">
26 28
    </search-page>
27 29

  
28 30
    `
......
54 56
  @ViewChild (SearchPageComponent) searchPage : SearchPageComponent ;
55 57
  public resourcesQuery = "((oaftype exact datasource) and(datasourcetypeuiid = other))";
56 58
  public csvParams: string;
59
  public mapUrl: string;
57 60
properties:EnvProperties;
58 61
  constructor (private route: ActivatedRoute, private _searchDataprovidersService: SearchDataprovidersService ) {
59 62
    this.errorCodes = new ErrorCodes();
......
74 77
      .subscribe((data: { envSpecific: EnvProperties }) => {
75 78
        this.properties = data.envSpecific;
76 79
        this.baseUrl = data.envSpecific.searchLinkToEntityRegistriesDataProviders;
80
        this.mapUrl = this.properties.statisticsFrameAPIURL+"markers-test.html?show=registries";
77 81

  
78

  
79 82
      });
80 83
    this.searchPage.refineFields = this.refineFields;
81 84
    this.searchPage.fieldIdsMap = this.fieldIdsMap;
......
186 189
        var value:Value = {name: value_names[i][j], id: value_original_ids[i][j], number:j, selected:false}
187 190
        values.push(value);
188 191
      }
189
       var filter:Filter = {title: filter_names[i], filterId: filter_ids[i], originalFilterId:  filter_original_ids[i], values : values, countSelectedValues:0, "filterOperator": 'or' };
192
       var filter:Filter = {title: filter_names[i], filterId: filter_ids[i], originalFilterId:  filter_original_ids[i], values : values, countSelectedValues:0, "filterOperator": 'or', valueIsExact: true };
190 193
       filters.push(filter);
191 194
    }
192 195
    return filters;

Also available in: Unified diff