View Issue Details

IDProjectCategoryView StatusLast Update
0002434Composrcore_fieldspublic2017-05-04 00:12
ReporterAdam EdingtonAssigned To 
SeverityFeature-request 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0002434: Choice for sorting of foreign entries in catalogue reference field entry selectors
DescriptionNot sure what the default sort option is when pulling entries in from another catalogue, but it would be nice to have the option to decide how they are listed. I do plan to have a lot of entries, so maybe a catalogue isn't the best way to do this. Still, alphabetical sorting would probably make sense as a default for most cases.
TagsNo tags attached.
Time estimation (hours)2
Sponsorship open

Activities

Adam Edington

2016-04-20 12:41

administrator  

sorting.png (38,218 bytes)
sorting.png (38,218 bytes)

Adam Edington

2016-04-20 13:49

administrator   ~0003615

Last edited: 2016-04-20 13:55

View 2 revisions

Additionally, it would be useful to display the id after the entry. I have 2 bands called Arise, when selecting who a release or video belongs to I have no idea which Arise to select.

Question: Would it be possible to make it so any release or video added to their respective catalogues is added to the performer catalogue automatically. Having to update the links on all 3 catalogues to group is a bit tedious. Or are catalogues unsuitable for what I want to achieve here. I did think about making a music module, ideally wanted to to it into galleries for videos and images, but there are no tutorials to help me with that (the automatic creation of galleries not listed like the downloads module does). I am assuming it would be easier overall to use what Composr currently offers, but I wanted to check with you if catalogues are the way to go about this, or should I be thinking of making a module? Uploaded progress.png to give you an idea of what I am trying to do. I want to add News and Events too (ideally from News module and Calendar). Did some templating before when I was seeing if this would work out, so I know I can make it look how I want, just really not sure if I can make it act how I need.

Adam Edington

2016-04-20 13:53

administrator  

progress.png (56,748 bytes)
progress.png (56,748 bytes)

Chris Graham

2016-04-20 13:54

administrator   ~0003616

"Would it be possible to make it so any release or video added to their respective catalogues is added to the performer catalogue automatically"

I couldn't answer that without knowing what "added to the performer catalogue automatically" entails. The tracker isn't the right place for that discussion though.

Chris Graham

2016-04-20 13:56

administrator   ~0003617

Sorting is done based on selection order. Selection order is necessarily the same as display order within the selection list. The order within the selection list is based on date. So I agree, that's not great, and there should be a field option to specify this better. That field option should probably not just define sorting before display, but also the displayed order within the selection list.

Adam Edington

2016-04-20 13:59

administrator   ~0003618

Okay, I just meant that when I added an item to a catalogue (ie, audio, video) that it would be reflected in the parent catalogue (Performer) without me having to go in there and select it from what would end up being a massive unordered list of Performers. I will desist from discussing it further, just not sure of the capabilities of catalogues and whether this is feasible.

Chris Graham

2016-04-20 14:04

administrator   ~0003619

There's no such thing as a parent catalogue, so I'm a bit confused.

The best place to discuss this is the forum, as you can then go into full detail on what you're doing, without it getting mixed in with a tracker item.

You may be asking if you can set up catalogues A and B, such that A has a multi-reference into B, and when you add a new entry to B you would be able to select an entry in A, such that it automatically sets an additional reference in the multi-reference from that entry in A to that new entry in B. i.e. to be able to set the relationship backwards. No way to do it, but it's an interesting idea, I'll add an issue for it.

Adam Edington

2016-04-20 14:08

administrator   ~0003620

That's exactly what I was asking :)

Chris Graham

2016-07-04 21:34

administrator   ~0004101

I've alphabetised it at least for now.

Adam Edington

2016-07-05 16:14

administrator   ~0004102

Thank you.

Issue History

Date Modified Username Field Change
2016-04-20 12:41 Adam Edington New Issue
2016-04-20 12:41 Adam Edington File Added: sorting.png
2016-04-20 13:49 Adam Edington Note Added: 0003615
2016-04-20 13:49 Chris Graham Time estimation (hours) => 2
2016-04-20 13:49 Chris Graham View Status private => public
2016-04-20 13:53 Adam Edington File Added: progress.png
2016-04-20 13:54 Chris Graham Note Added: 0003616
2016-04-20 13:55 Adam Edington Note Edited: 0003615 View Revisions
2016-04-20 13:56 Chris Graham Note Added: 0003617
2016-04-20 13:59 Adam Edington Note Added: 0003618
2016-04-20 14:04 Chris Graham Note Added: 0003619
2016-04-20 14:08 Adam Edington Note Added: 0003620
2016-07-04 21:34 Chris Graham Note Added: 0004101
2016-07-05 16:14 Adam Edington Note Added: 0004102
2017-05-04 00:12 Chris Graham Category catalogues => core_fields
2017-05-04 00:12 Chris Graham Summary Sorting entries from another catalogue => Choice for sorting of foreign entries in catalogue reference field entry selectors