Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Allow any-of simple search over subjects
Fixes #15 InSubject mints a new prefix in join and logic, but SubQuery (as inherited by OrSubQuery) only uses the join from the first sub-op. Hence the perfix used in logic for any other ORed InSubject sub-ops would not match the prefix used in the join. Fixed by always setting a prefix in the call to join() and logic() - empty string so we don't make the SQL any more difficult to read than it already is.
- Loading branch information
Showing
with
9 additions
and 10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -27,15 +27,6 @@ use EPrints::Search::Condition::SubQuery; | ||
|
|
||
| use strict; | ||
|
|
||
| 1; | ||
|
|
||
| =head1 COPYRIGHT | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters