File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 7878 mysql -u$MYSQL_ROOT_USER -h $MYSQL_DB_HOST -p$MYSQL_ROOT_PASSWORD -D$DATABASE_NAME < ${HOMEROOT} /scripts/${METADATA_SQL_FILE}
7979fi
8080
81-
8281echo " Adding Django site IDs..."
8382python3 ${HOMEROOT} /scripts/add_site_ids.py
8483
Original file line number Diff line number Diff line change @@ -1464,7 +1464,10 @@ require([
14641464 if ( 'attributes' in data . derived_set [ facetSet ] ) {
14651465
14661466 dicofdic = { 'unfilt' : data . derived_set [ facetSet ] . attributes , 'filt' : '' }
1467- if ( isFiltered ) {
1467+ if ( isFiltered && data . filtered_counts . hasOwnProperty ( 'derived_set' )
1468+ && data . filtered_counts . derived_set . hasOwnProperty ( facetSet )
1469+ && data . filtered_counts . derived_set [ facetSet ] . hasOwnProperty ( 'attributes' )
1470+ ) {
14681471 dicofdic [ 'filt' ] = data . filtered_counts . derived_set [ facetSet ] . attributes ;
14691472 }
14701473 else {
You can’t perform that action at this time.
0 commit comments