Skip to content

Commit

Permalink
Merge pull request Islandora#12 from bwoodhead/master
Browse files Browse the repository at this point in the history
Fixed pathing
  • Loading branch information
bwoodhead committed Oct 19, 2011
2 parents 2cad834 + 4eb5641 commit 5e8bb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion islandora_book.module
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function islandora_book_create_book_view($pid, $query = NULL) {
$output .= $newdom->saveXML();
}
if (isset($query)) {
module_load_include('inc', 'fedora_repository', 'SearchClass');
module_load_include('inc', 'fedora_repository', 'core/SearchClass');
$searchClass = new SearchClass();
$pageQuery = convert_query_to_page_query($query, $pid);
$output .= '<div>' . $searchClass->custom_search($pageQuery, $startPage, '/xsl/pageResults.xsl', 500) . '</div>'; //limit results to 500 pages of a book since there is no paging if we enable paging in xslt this can be changed
Expand Down

0 comments on commit 5e8bb5a

Please sign in to comment.