From 70de563df23ae22e0b1f77062db17ed7f4e95bc5 Mon Sep 17 00:00:00 2001 From: Leonard Martin Date: Fri, 4 Jan 2019 09:50:31 +0000 Subject: [PATCH] Add link to profile page from people search results --- pages/search/views/index.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/search/views/index.jsx b/pages/search/views/index.jsx index 1fb3c26c..c667acf8 100644 --- a/pages/search/views/index.jsx +++ b/pages/search/views/index.jsx @@ -1,11 +1,13 @@ import React, { Fragment } from 'react'; import { connect } from 'react-redux'; -import { Datatable, FilterSummary, Header, Snippet } from '@asl/components'; +import { Datatable, FilterSummary, Header, Snippet, Link } from '@asl/components'; import SearchPanel from '../../components/search-panel'; const formatters = { lastName: { - format: (lastName, profile) => `${profile.firstName} ${lastName}` + format: (lastName, profile) => { + return ; + } }, establishments: { format: establishments => establishments.map(establishment => establishment.name).join(', ')