mirror of
https://github.com/quatalog/quatalog.git
synced 2025-11-27 14:45:46 +00:00
Fix generator for cross-listings
This commit is contained in:
parent
d87e916f42
commit
adb7e97127
|
|
@ -433,7 +433,8 @@ enum OFFERED is_course_offered(const int year,
|
||||||
return OFFERED::YES;
|
return OFFERED::YES;
|
||||||
} else {
|
} else {
|
||||||
for(const auto& cl : cross_listings) {
|
for(const auto& cl : cross_listings) {
|
||||||
if(get_data(terms_offered,cl.asString())) {
|
const auto& data = get_data(qlog.terms_offered,cl.asString())[term_str];
|
||||||
|
if(data) {
|
||||||
return OFFERED::DIFF_CODE;
|
return OFFERED::DIFF_CODE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue