Skip to content

Expanding on Lecturer In Popup Card Issue #10

@JayNightmare

Description

@JayNightmare

Issue

When getting the staff names, formatting needs to be applied to the output:

Raw Column:

Staff member(s) -> NEVE, PAUL

Output:

lecturer -> Paul Neve

Sudo Code:

staff_col = row["Staff member(s)"]

if staff_col.length() <= 2
    firstname = staff_col[1]
    lastname = staff_col[0]

else if staff_col.length > 3
    for i = 0, staff_col.length < 0, i++
        firstname.append(staff_col[if i is even])
        lastname.append(staff_col[if i is odd])

Originally posted by @JayNightmare in #8

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions