Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

implemented updatedBy field in concept, and the functionality to sear… #53

Merged
merged 1 commit into from
May 27, 2020

Conversation

N4G1
Copy link
Contributor

@N4G1 N4G1 commented May 27, 2020

@N4G1 N4G1 requested review from jnatten and gunnarvelle May 27, 2020 11:39
Copy link
Member

@gunnarvelle gunnarvelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ser bra ut, men berre et spørsmål.

@@ -205,6 +216,7 @@ trait ConverterService {
source = concept.source,
created = clock.now(),
updated = clock.now(),
updatedBy = Seq(userInfo.id),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Riskerer du ikkje å overskrive lista med brukerider her?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I det tilfelle så er det slik at conceptet finnes ikke med denne id'en, mens det finnes en rad med samme id i databasen. I det tilfelle lager vi et helt nytt concept så ingenting blir overskrivet siden det ikke er noe fra før av

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Då skal eg ikkje krangle på det.

Copy link
Member

@gunnarvelle gunnarvelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@N4G1 N4G1 merged commit 68d757f into master May 27, 2020
@N4G1 N4G1 deleted the 2107-sok-etter-forklaringer-etter-bruker branch May 27, 2020 12:49
@@ -56,6 +56,7 @@ trait DraftConceptIndexService {
dateField("lastUpdated"),
keywordField("status.current"),
keywordField("status.other"),
keywordField("users"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Syns at users er et lite beskrivende navn

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kunne vore updatedBy

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@N4G1 kan du ikkje lage en ny pr der du kaller det updatedBy? Søket kan fremdeles være users som det er i search-api.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants