projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dccbab
)
take path from params in /data/items
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 8 Jul 2010 15:58:41 +0000
(17:58 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 8 Jul 2010 15:58:41 +0000
(17:58 +0200)
This allows us to switch to different dataset on commit of changes, but
it DOESN'T change column definition under assumption that you are
applying changes to dataset which has more-or-less same structure
lib/MojoFacets/Data.pm
patch
|
blob
|
history
diff --git
a/lib/MojoFacets/Data.pm
b/lib/MojoFacets/Data.pm
index
314e72e
..
ad24d7a
100644
(file)
--- a/
lib/MojoFacets/Data.pm
+++ b/
lib/MojoFacets/Data.pm
@@
-622,7
+622,7
@@
sub items {
warn "show $show\n";
}
- my $path = $self->
session
('path');
+ my $path = $self->
_param_scalar
('path');
my @columns = $self->_param_array('columns');
$self->redirect_to('/data/columns') unless @columns;