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:
8eeee1a
)
* Model::Journals: select() now accept "discussion_id"/"discussion" parameter
author
hylom
<hylom@users.sourceforge.jp>
Fri, 6 Oct 2017 12:33:30 +0000
(21:33 +0900)
committer
hylom
<hylom@users.sourceforge.jp>
Fri, 6 Oct 2017 12:33:30 +0000
(21:33 +0900)
src/newslash_web/lib/Newslash/Model/Journals.pm
patch
|
blob
|
history
diff --git
a/src/newslash_web/lib/Newslash/Model/Journals.pm
b/src/newslash_web/lib/Newslash/Model/Journals.pm
index
7a5acd0
..
2959931
100644
(file)
--- a/
src/newslash_web/lib/Newslash/Model/Journals.pm
+++ b/
src/newslash_web/lib/Newslash/Model/Journals.pm
@@
-56,6
+56,8
@@
sub select {
my $unique_keys = { id => "journals.id",
journal_id => "journals.id",
+ discussion_id => "journals.discussion",
+ discussion => "journals.discussion",
};
my $keys = { uid => "journals.uid",
user_id => "journals.uid",