OSDN Git Service
(root)
/
newslash
/
newslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9903650
)
* Model::Stories: fix to set full_text property correctly
author
hylom
<hylom@users.sourceforge.jp>
Mon, 4 Dec 2017 12:14:55 +0000
(21:14 +0900)
committer
hylom
<hylom@users.sourceforge.jp>
Mon, 4 Dec 2017 12:14:55 +0000
(21:14 +0900)
src/newslash_web/lib/Newslash/Model/Stories.pm
patch
|
blob
|
history
diff --git
a/src/newslash_web/lib/Newslash/Model/Stories.pm
b/src/newslash_web/lib/Newslash/Model/Stories.pm
index
3a84fe3
..
e1b32eb
100644
(file)
--- a/
src/newslash_web/lib/Newslash/Model/Stories.pm
+++ b/
src/newslash_web/lib/Newslash/Model/Stories.pm
@@
-698,7
+698,7
@@
sub _generalize {
$story->{content_type} = "story";
$story->{intro_text} = $story->{introtext};
$story->{body_text} = $story->{bodytext};
- $story->{full_text} = join("\n", $story->{intro_text}, $story->{
full
_text});
+ $story->{full_text} = join("\n", $story->{intro_text}, $story->{
body
_text});
$story->{fulltext} = $story->{full_text};
$story->{discussion_id} = $story->{discussion};