mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Set metacrc on RideItem::refresh()
.. even if not using Lucene, its used to spot meta changes including things like CP et al.
This commit is contained in:
@@ -446,13 +446,13 @@ RideItem::refresh()
|
||||
|
||||
// and Lucene search texts if they have changed since we
|
||||
// last updated lucene for this ride item
|
||||
#ifdef GC_HAVE_LUCENE
|
||||
unsigned long mc = metaCRC();
|
||||
if (metacrc != mc) {
|
||||
#ifdef GC_HAVE_LUCENE
|
||||
context->athlete->lucene->importRide(ride_);
|
||||
#endif
|
||||
metacrc = mc;
|
||||
}
|
||||
#endif
|
||||
|
||||
// close if we opened it
|
||||
if (doclose) {
|
||||
|
||||
Reference in New Issue
Block a user