add 11477: Don't fill in a default synopsis

This commit is contained in:
Doug Bell 2010-04-08 14:41:27 -05:00
parent a0253fa599
commit fe2b81772b
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
7.9.3
- added #11477: No synopsis in asset now means no synopsis in search index
- added #11007: Added drag'n'drop sorting in Gallery Album Edit View (Bernd Kalbfuß-Zimmermann)
7.9.2

View file

@ -125,7 +125,7 @@ sub create {
$description, WebGUI::Keyword->new($self->session)->getKeywordsForAsset({asset=>$asset}));
$keywords = $self->_filterKeywords($keywords);
my $synopsis = $asset->get("synopsis") || substr($description,0,255) || substr($keywords,0,255);
my $synopsis = $asset->get("synopsis") || substr($description,0,255);
my $add = $self->session->db->prepare("insert into assetIndex (assetId, title, url, creationDate, revisionDate,
ownerUserId, groupIdView, groupIdEdit, lineage, className, synopsis, keywords) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )");
$add->execute([$asset->getId, $asset->get("title"), $asset->get("url"), $asset->get("creationDate"),