mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-13 13:03:04 +00:00
69110: EPeople admin page - CRUD & search on name, email, md
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { RouterModule } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { URLCombiner } from '../core/url-combiner/url-combiner';
|
import { RouterModule } from '@angular/router';
|
||||||
import { getAdminModulePath } from '../app-routing.module';
|
import { getAdminModulePath } from '../app-routing.module';
|
||||||
|
import { URLCombiner } from '../core/url-combiner/url-combiner';
|
||||||
import { AdminSearchPageComponent } from './admin-search-page/admin-search-page.component';
|
import { AdminSearchPageComponent } from './admin-search-page/admin-search-page.component';
|
||||||
import { I18nBreadcrumbResolver } from '../core/breadcrumbs/i18n-breadcrumb.resolver';
|
import { I18nBreadcrumbResolver } from '../core/breadcrumbs/i18n-breadcrumb.resolver';
|
||||||
|
|
||||||
@@ -28,8 +28,8 @@ export function getRegistriesModulePath() {
|
|||||||
resolve: { breadcrumb: I18nBreadcrumbResolver },
|
resolve: { breadcrumb: I18nBreadcrumbResolver },
|
||||||
component: AdminSearchPageComponent,
|
component: AdminSearchPageComponent,
|
||||||
data: { title: 'admin.search.title', breadcrumbKey: 'admin.search' }
|
data: { title: 'admin.search.title', breadcrumbKey: 'admin.search' }
|
||||||
},
|
}
|
||||||
])
|
]),
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class AdminRoutingModule {
|
export class AdminRoutingModule {
|
||||||
|
2
src/app/core/cache/object-cache.service.ts
vendored
2
src/app/core/cache/object-cache.service.ts
vendored
@@ -276,6 +276,8 @@ export class ObjectCacheService {
|
|||||||
* list of operations to perform
|
* list of operations to perform
|
||||||
*/
|
*/
|
||||||
public addPatch(selfLink: string, patch: Operation[]) {
|
public addPatch(selfLink: string, patch: Operation[]) {
|
||||||
|
console.log('selfLink addPatch', selfLink)
|
||||||
|
console.log('patch addPatch', patch)
|
||||||
this.store.dispatch(new AddPatchObjectCacheAction(selfLink, patch));
|
this.store.dispatch(new AddPatchObjectCacheAction(selfLink, patch));
|
||||||
this.store.dispatch(new AddToSSBAction(selfLink, RestRequestMethod.PATCH));
|
this.store.dispatch(new AddToSSBAction(selfLink, RestRequestMethod.PATCH));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user