]> iEval git - app-web-oof.git/commitdiff
Fix picture list in item details
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 5 Mar 2016 16:20:28 +0000 (16:20 +0000)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 5 Mar 2016 16:20:43 +0000 (16:20 +0000)
lib/App/Web/Oof.pm

index 90cf972664abf33caa93978b80cc81093af40943..3e76325eda5509c2ce55d8f5c6031b1ca627b3ad 100644 (file)
@@ -208,7 +208,7 @@ sub details_app {
        $tree->find('title')->replace_content("Pictures of $title | ledparts4you");
        $tree->find('h2')->replace_content($title);
        $tree->look_down(rel => 'canonical')->attr(href => "/details/$id/$slug");
-       $tree->fid('pictures')->iter3(\@pics, \&details_list_element);
+       $tree->fid('pictures')->find('li')->iter3(\@pics, \&details_list_element);
 
        [200, ['Content-type' => 'text/html; charset=utf-8'], [$tree->as_HTML]]
 }
This page took 0.026186 seconds and 4 git commands to generate.