in2code-de / publications

Follower of EXT:bib to show publications in TYPO3. Im- and export of bibtext and xml files.
https://www.in2code.de/agentur/typo3-extensions/publications/
11 stars 16 forks source link

[FEATURE] Author names in list: without comma and sorted by last_name #7

Closed clivebeckett closed 2 years ago

clivebeckett commented 5 years ago

That’s a tiny change that I found useful. I’ve tested in T3 9LTS but it should work in earlier versions as well.

einpraegsam commented 5 years ago

@kfumy What do you think about the change? Is it useful for the community?

kfumy commented 4 years ago

@einpraegsam is it only for the Backendlist or is it then another view in the FE?

pmbittner commented 4 years ago

I was actually confused by the comma in the author names. So my name would be displayed as "Paul, Bittner" which is unusual to me. I actually, wrongly thought I had messed up the bibtex import such that forename and surname are swapped. So I appreciate the change in this pull request if I understood it correctly.

clivebeckett commented 4 years ago

@einpraegsam is it only for the Backendlist or is it then another view in the FE?

Sorry I never saw this question. This change is only backend related. The way it’s being displayed in the FE would be managed in the Fluid Templates and is thus flexible anyway.

einpraegsam commented 4 years ago

@kfumy This is related to the view in the backend. I guess mainly the listview of the records.

mschwemer commented 2 years ago

I understand, that it is unusual to have a first name in the first column and seperated with a , ...

I think, it's also unusual to scan an author list by first name. In most cases I would scan for the last name of an author and not for the first name.

So I would suggest to change:

        'label' => 'first_name',
        'label_alt' => 'last_name',

to

        'label' => 'last_name',
        'label_alt' => 'first_name',

Then the comma is ok and not unusual any more. Additionally it enhances the usability for editors ... and less code to maintain

What do you think?

@clivebeckett @pmbittner @kfumy

mschwemer commented 2 years ago

Just switched last and firstname in the tca definition commit 088ba4abfa74c4fc6a3c3154ea5e05aefc593edb