Permalink
Browse files

(3) - configured display_columns (TableSpecs)

  • Loading branch information...
vanstyn committed Sep 12, 2013
1 parent aae6591 commit 68659f202eb9a939861f5e46ddca7a84fae02e9a
Showing with 20 additions and 0 deletions.
  1. +6 −0 cmd_history.sh
  2. +14 −0 lib/RA/ChinookDemo.pm
@@ -193,3 +193,9 @@ script/ra_chinookdemo_server.pl
# Configure joined columns
vim lib/RA/ChinookDemo.pm
Commit '(2) - example joined columns (grid configs)'
# Start the test server:
script/ra_chinookdemo_server.pl
#
# Set 'display_column' for Sources
vim lib/RA/ChinookDemo.pm
Commit '(3) - configured display_columns (TableSpecs)'
@@ -34,6 +34,20 @@ __PACKAGE__->config(
include_colspec => ['*','albumid.artistid.*']
},
}, # (grid_params)
TableSpecs => {
Album => {
display_column => 'title'
},
Artist => {
display_column => 'name'
},
Genre => {
display_column => 'name'
},
MediaType => {
display_column => 'name'
},
}, # (TableSpecs)
}, # (DB)
}, # (configs)
}, # ('Plugin::RapidApp::RapidDbic')

0 comments on commit 68659f2

Please sign in to comment.