[ARVADOS-WORKBENCH2] updated: 1.1.4-381-g9f72326
Git user
git at public.curoverse.com
Tue Jul 24 06:44:32 EDT 2018
Summary of changes:
src/store/favorite-panel/favorite-panel-middleware.ts | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
via 9f72326a9442c6db9c29cbd50db7d047106efc90 (commit)
from 2953c96ede69c1d518ae05f1a57239aad951d0e7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 9f72326a9442c6db9c29cbd50db7d047106efc90
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date: Tue Jul 24 12:44:18 2018 +0200
Implement searching in favorites-panel
Feature #13753
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
diff --git a/src/store/favorite-panel/favorite-panel-middleware.ts b/src/store/favorite-panel/favorite-panel-middleware.ts
index 791c6bd..c5020e8 100644
--- a/src/store/favorite-panel/favorite-panel-middleware.ts
+++ b/src/store/favorite-panel/favorite-panel-middleware.ts
@@ -9,10 +9,6 @@ import { RootState } from "../store";
import { getDataExplorer } from "../data-explorer/data-explorer-reducer";
import { FilterBuilder } from "../../common/api/filter-builder";
import { DataColumns } from "../../components/data-table/data-table";
-import { ProcessResource } from "../../models/process";
-import { OrderBuilder } from "../../common/api/order-builder";
-import { GroupContentsResourcePrefix } from "../../services/groups-service/groups-service";
-import { SortDirection } from "../../components/data-table/data-column";
import {
columns,
FAVORITE_PANEL_ID,
@@ -21,7 +17,6 @@ import {
} from "../../views/favorite-panel/favorite-panel";
import { FavoritePanelItem, resourceToDataItem } from "../../views/favorite-panel/favorite-panel-item";
import { LinkResource } from "../../models/link";
-import { ResourceKind } from "../../models/resource";
import { checkPresenceInFavorites } from "../favorites/favorites-actions";
export const favoritePanelMiddleware: Middleware = store => next => {
@@ -68,6 +63,7 @@ export const favoritePanelMiddleware: Middleware = store => next => {
filters: FilterBuilder
.create<LinkResource>()
.addIsA("headUuid", typeFilters.map(filter => filter.type))
+ .addILike("name", dataExplorer.searchValue)
})
.then(response => {
store.dispatch(dataExplorerActions.SET_ITEMS({
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list