You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following line was original written as SQL for expediency and should have be modified to use the EPrints API once the correct query was determined.
my$citations_sql = "SELECT `citationcacheid`, `citation_text`, `timestamp_year` AS `year`, `timestamp_month` AS `month`, `timestamp_day` AS `day`, `timestamp_hour` AS `hour`, `timestamp_minute` AS `minute`, `timestamp_second` AS `second` FROM `citationcache` WHERE `datasetid` = '" . $self->{dataset}->confid . "' AND `objectid` = '" . $self->id . "' AND `style` = '" . $style . "' ORDER BY `timestamp_year`, `timestamp_month`, `timestamp_day`, `timestamp_hour`, `timestamp_minute`, `timestamp_second` DESC LIMIT 1";
The text was updated successfully, but these errors were encountered:
drn05r
changed the title
Rewrite CitationCache code to use EPrints API ratherthan SQL query
Rewrite CitationCache code to use EPrints API rather than SQL query
Feb 1, 2024
The following line was original written as SQL for expediency and should have be modified to use the EPrints API once the correct query was determined.
eprints3.4/perl_lib/EPrints/DataObj.pm
Line 1576 in 5d549e5
The text was updated successfully, but these errors were encountered: