Skip to content

Commit

Permalink
Fixed: failed on import bibliographic data
Browse files Browse the repository at this point in the history
Fixed: paging error
Fixed: book cover layout error on bibliographic detail on Meranti OPAC template
  • Loading branch information
dicarve committed Feb 27, 2014
1 parent e1cf3e4 commit 07b1d05
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions admin/modules/bibliography/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
do_checkIP('smc-bibliography');
// start the session
require SB.'admin/default/session.inc.php';
require SIMBIO.'simbio_DB/simbio_dbop.inc.php';
require SIMBIO.'simbio_GUI/table/simbio_table.inc.php';
require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php';
require SIMBIO.'simbio_FILE/simbio_file_upload.inc.php';
Expand Down
2 changes: 1 addition & 1 deletion js/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ $('document').ready(function() {
if (anchor.hasClass('notAJAX')) {
return true;
}
if (anchor.attr('target')) {
if (anchor.attr('target') && anchor.attr('target') != '_self') {
return true;
}
evt.preventDefault();
Expand Down
4 changes: 2 additions & 2 deletions sysconfig.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ function stripslashes_deep($value)
/**
* BIBLIO INDEXING
*/
$sysconf['index']['type'] = 'default'; // value can be 'default', 'index' OR 'sphinx'
$sysconf['index']['type'] = 'index'; // value can be 'default', 'index' OR 'sphinx'
$sysconf['index']['sphinx_opts'] = array(
'host' => '127.0.0.1',
'port' => 9312,
Expand Down Expand Up @@ -497,7 +497,7 @@ function stripslashes_deep($value)
'namespace' => 'http://www.openarchives.org/OAI/2.0/oai_dc/');

// Search clustering
$sysconf['enable_search_clustering'] = false;
$sysconf['enable_search_clustering'] = true;

// check if session is auto started and then destroy it
if ($is_auto = @ini_get('session.auto_start')) { define('SESSION_AUTO_STARTED', $is_auto); }
Expand Down
2 changes: 1 addition & 1 deletion template/meranti/index_template.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
<div class="content">
<div class="container_12">
<div class="grid_12 welcome">
<?php if(isset($_GET['search']) || isset($_GET['title']) || isset($_GET['keywords'])) { ?>
<?php if($_GET['p'] != 'show_detail' && (isset($_GET['search']) || isset($_GET['title']) || isset($_GET['keywords']))) { ?>
<div class="sidebar">
<div class="tagline">
<?php echo __('Information'); ?>
Expand Down

0 comments on commit 07b1d05

Please sign in to comment.