add item and feed ids where appropriate
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / WWW / SuperCat.pm
index f5918a8..a348336 100644 (file)
@@ -741,6 +741,7 @@ sub bookbag_feed {
                $flesh_feed
        );
        $feed->root($root);
+       $feed->id($bucket_tag);
 
        $feed->title("Items in Book Bag [".$bucket->name."]");
        $feed->creator($host);
@@ -1209,7 +1210,7 @@ sub create_record_feed {
                        $node->add_holdings($xml);
                }
 
-               $node->id($item_tag) if ($flesh);
+               $node->id($item_tag);
                #$node->update_ts(clense_ISO8601($record->edit_date));
                $node->link(alternate => $feed->unapi . "?id=$item_tag&format=htmlholdings-full" => 'text/html') if ($flesh);
                $node->link(opac => $feed->unapi . "?id=$item_tag&format=opac") if ($flesh);