Commit Graph

9 Commits

Author SHA1 Message Date
argiro.kokogiannaki fa25562aea [Library|Trunk]
Add custom filter parameters when switching from simple to advanced search pages or change entities


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59938 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-23 16:08:36 +00:00
argiro.kokogiannaki 6137dc874c [Library|Trunk]
Search Pages:
- change showAdvancedSearchLink to showSwitchSearchLink and used it to chech for both simple and advanced link
- add showBreadcrump choice for search projects, content provider and organization components
- customFilter: add promptToAddFilter: boolean in order to display prompt about adding or removing custom filter
- entities selection: if advanced search use the advanced search routes, disable selection for advanced pages of connect - community portal



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59265 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-13 11:15:10 +00:00
argiro.kokogiannaki 138b9ee69e [Library|Trunk]
Saarch page for dashboard:

- add alert modal  when removing the dashboard filter
- add message to re-add dashboard filter if not already applied
- add esc directive for the filters 



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59217 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-04 07:25:32 +00:00
konstantina.galouni b0af2de1bc [Trunk | Library]:
1. searchUtils.class.ts: In SearchUtilsClass added field "refineStatus:number = 1;" for refine queries.
2. searchResultsPerPage.component.ts & searchSorting.component.ts: [Bug fix] In EventEmitter (value change), emit raw value, not object with field "value".
3. searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts & searchResearchResults.component.ts:
	a. Add subscriptions in array to unsubscribe in ngOnDestroy.
	b. Get properties from environment (no service needed).
	c. Separate queries for refine and results.
	d. Do not call refine query when page, results per page, sortBy change (there is still a bug here).
	e. For refine query, added field "disableRefineForms" default set to false - passed in <new-search-page>.
4. newSearchPage.component.html:
	a. Disable forms when "disableForms" or "disableRefineForms" is true.
	b. Do not show filters, until results query returns, but show results while refine is loading.
	c. Deleted old, unused code.
5. newSearchPage.component.ts:
	a. Added fields "@Input() disableRefineForms: boolean = false;", "@Input() sortedByChanged: string = "";", "@Input() resultsPerPageChanged: number;"
	b. When results per page or sortBy change, do not upadate immediately searchUtils values - do not query for refine when these change (there is still a bug here).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59155 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-21 13:48:55 +00:00
argiro.kokogiannaki 3061455f8a [Library | Trunk]
Dashboard Sidebar: 
	pass query params for search
	add is activeURL method
	add mini_Title to be visible in mini_sidebar view

New Search page: include  changes for dashboard search
		- filters on the right
		- selected filters on top of the results
		- make selected filters an ng-template




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59078 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 09:15:00 +00:00
argiro.kokogiannaki 5a1f545b52 [Library|Trunk]
Search Find:
	count query: use /resources2, use newSearchPage method, for creating the parameters (DOI, orcid, quotes)
	count outcomes: add open access filter
	fix keyword parameters
	for the active tab, initialize results total number with null



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58416 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-07 11:11:31 +00:00
argiro.kokogiannaki 504fdfaa3c [Library|Trunk]
Changes for Aggregator portal:
	use a customFilter in search pages, and pass it through the components
	for landing  pages check if a route is available in order to add linking and deposit links



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56059 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-12 14:13:56 +00:00
konstantina.galouni 0886a26ac9 1. Add 'sorting' option by 'relevance' or 'date' in simple search pages for results (publications, datasets, software, orps).
2. Add 'results per page' option in all simple search, advanced search and search table view pages.
3. Add 'sortBy' field in 'searchUtils.class'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53919 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-21 15:28:38 +00:00
argiro.kokogiannaki 86e750754b Commiting first draft of openaire library for angular portals
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50169 d315682c-612b-4755-9ff5-7f18f6832af3
2017-12-19 12:53:46 +00:00