File tree 2 files changed +4
-0
lines changed
server/controllers/processes
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ const INDEX_PIPELINE = [
58
58
"room.code" : 1 ,
59
59
"room.building" : 1 ,
60
60
"room.floor" : 1 ,
61
+ "room.notes" : 1 ,
61
62
"room.number" : 1 ,
62
63
"person" : 1
63
64
}
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ function AssignmentsList() {
49
49
${ person . affiliations ?. map ( aff => aff . name ?. toLowerCase ( ) ) . join ( ' ' ) || '' }
50
50
${ roomData . floor ?. toString ( ) . toLowerCase ( ) || '' }
51
51
${ roomData . number ?. toString ( ) . toLowerCase ( ) || '' }
52
+ ${ roomData . notes ?. toString ( ) . toLowerCase ( ) || '' }
52
53
${ roomData . code ?. toLowerCase ( ) || '' }
53
54
${ roomData . building ?. toLowerCase ( ) || '' }
54
55
${ assignment . startDate ? myDateFormat ( assignment . startDate ) . toLowerCase ( ) : '' }
@@ -157,6 +158,7 @@ function RoomAssignmentsTable({ assignments }) {
157
158
< tr >
158
159
< th scope = "col" > Piano</ th >
159
160
< th scope = "col" > Stanza</ th >
161
+ < th scope = "col" > Note</ th >
160
162
< th scope = "col" > Assegnazione</ th >
161
163
< th scope = "col" > Periodo</ th >
162
164
</ tr >
@@ -183,6 +185,7 @@ function RoomAssignmentsTable({ assignments }) {
183
185
< tr key = { assignment . _id } >
184
186
< td > { roomData . floor } </ td >
185
187
< td > { roomData . number } </ td >
188
+ < td > { roomData . notes } </ td >
186
189
< td >
187
190
{ firstName } { lastName } ({ affiliationNames }
188
191
{ contactDetails ? `, ${ contactDetails } ` : "" } )
You can’t perform that action at this time.
0 commit comments