Lines 44-52
sub new {
Link Here
|
44 |
my @bind_params = ($biblionumber); |
44 |
my @bind_params = ($biblionumber); |
45 |
if ( $items_included ) { |
45 |
if ( $items_included ) { |
46 |
# Take latest timestamp of biblio and any items |
46 |
# Take latest timestamp of biblio and any items |
|
|
47 |
# Or timestamp of deleted items where bib not deleted |
47 |
$sql .= " |
48 |
$sql .= " |
48 |
UNION |
49 |
UNION |
49 |
SELECT timestamp from deleteditems |
50 |
SELECT deleteditems.timestamp FROM deleteditems JOIN biblio USING (biblionumber) |
50 |
WHERE biblionumber=? |
51 |
WHERE biblionumber=? |
51 |
UNION |
52 |
UNION |
52 |
SELECT timestamp from items |
53 |
SELECT timestamp from items |
53 |
- |
|
|