Indefero

Indefero Commit Details


Date:2008-11-26 03:08:51 (16 years 26 days ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:628b01faf4c59ccbcf55145a297e750ba8d21178
Parents: 4bff7458902b6110dea288b3c81877f8ed34bc74
Message:Fixed the indexing for the issues.

It was not indexing the content correctly when creating the issue as the
content of the issue was not yet stored in the database.
Changes:

File differences

src/IDF/Issue.php
159159
160160
161161
162
162
163
164
165
163166
164167
165168
function postSave($create=false)
{
IDF_Search::index($this);
// Note: No indexing is performed here. The indexing is
// triggered in the postSave step of the comment to ensure
// that the issue as at least one comment in the database when
// doing the indexing.
if ($create) {
IDF_Timeline::insert($this, $this->get_project(),
$this->get_submitter());
src/IDF/IssueComment.php
123123
124124
125125
126
126127
127128
128129
$this->get_submitter());
}
}
IDF_Search::index($this->get_issue());
}
public function timelineFragment($request)

Archive Download the corresponding diff file

Page rendered in 0.07269s using 13 queries.