my $commit = $self->param('commit');
my ( $items, $unique2id );
my $commit = $self->param('commit');
my ( $items, $unique2id );
- warn "$path not loaded";
- $self->session('path', $path);
- $self->redirect_to('/data/index');
+ warn "$on_path not loaded";
+ $self->redirect_to('/data/index?path=' . $on_path);
- MojoFacets::Data::__commit_path_code( $path, $i, $code, \$commit_changed );
+ MojoFacets::Data::__commit_path_code( $on_path, $i, $code, \$commit_changed );
}
$t = time() - $t;
$self->stash( 'commit_changed', $commit_changed );
warn "commit_changed in $t s ",dump( $e->{commit_changed}, $commit_changed );
$e->{commit_changed_this} = $commit_changed;
}
$t = time() - $t;
$self->stash( 'commit_changed', $commit_changed );
warn "commit_changed in $t s ",dump( $e->{commit_changed}, $commit_changed );
$e->{commit_changed_this} = $commit_changed;
- MojoFacets::Data::__invalidate_path_column( $path, $_ ) foreach keys %$commit_changed;
- MojoFacets::Data::__path_rebuild_stats( $path );
+ MojoFacets::Data::__invalidate_path_column( $on_path, $_ ) foreach keys %$commit_changed;
+ MojoFacets::Data::__path_rebuild_stats( $on_path );
my @loaded = MojoFacets::Data::__loaded_paths();
warn "# loaded paths ",dump @loaded;
my @loaded = MojoFacets::Data::__loaded_paths();
warn "# loaded paths ",dump @loaded;