Angular eg-grid: would be handy to be able to column by selector value from a linked table

Bug #1826234 reported by Galen Charlton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Wishlist
Unassigned

Bug Description

Consider a grid displaying actor.usr rows. With a pcrud-based data source, the grid can readily display the profile name rather than ID. However, if you make the column sortable, sorting is based on profile ID, not name.

In some cases, it can be as simple is not marking a linked column as sortable. However, sometimes you really do want to be able to sort by a linked column's default selector.

pcrud doesn't provide a way to specify that you want to sort by a column coming from a linked table but open-ils.fielder does.

A couple ways that this could be resolved:

- teach pcrud how to sort by fleshed columns
- teach eg-grid how to easily set up open-ils.fielder-based date sources

Evergreen master

Galen Charlton (gmc)
Changed in evergreen:
importance: Undecided → Wishlist
Revision history for this message
Lucien Kress (lkress) wrote :

Did you mean: sorting is based on ID, not profile name? I think the problem is that the column *displays" profile name but the sort order is ID. Sorry if I'm misunderstanding the terminology.

Revision history for this message
Galen Charlton (gmc) wrote :

I did indeed. I've corrected the bug description and tweaked the title.

description: updated
summary: - Angular eg-grid: would be handy to be able to sort by columns in linked
- tables
+ Angular eg-grid: would be handy to be able to column by selector value
+ from a linked table
tags: added: angular webstaffcolumns
Revision history for this message
Galen Charlton (gmc) wrote :

Noting for anybody who picks this up that org unit columns are another example of the same problem.

Andrea Neiman (aneiman)
tags: added: eg-grid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.