983a9111e0930f4e3902b30390f2ee20b74513a1
kate
  Tue Jul 28 14:04:15 2020 -0700
Remove recommended track set from cart when loading new session or changing assembly, or when panel has been closed by user click on X. refs #25601

diff --git src/hg/inc/cart.h src/hg/inc/cart.h
index 9b2c11b..9fd6b8f 100644
--- src/hg/inc/cart.h
+++ src/hg/inc/cart.h
@@ -454,30 +454,31 @@
 /* Set the connector that will be used by the cart to disconnect from the
  * database. Default disconnector is hDisconnectCart */
 
 
 /* Libified constants and code that originally belonged only to hgSession
  * (now hgTracks uses them too), plus a couple for DataTables in hgSession
  * and hgPublicSessions: */
 #define hgSessionPrefix "hgS_"
 #define hgPublicSessionsPrefix "hgPS_"
 #define dataTableStateName "DataTableState"
 #define hgSessionTableState hgSessionPrefix dataTableStateName
 #define hgPublicSessionsTableState hgPublicSessionsPrefix dataTableStateName
 
 #define hgsOtherUserName hgSessionPrefix "otherUserName"
 #define hgsOtherUserSessionName hgSessionPrefix "otherUserSessionName"
+#define hgsOtherUserSessionLabel hgSessionPrefix "otherUserSessionLabel"
 #define hgsDoOtherUser hgSessionPrefix "doOtherUser"
 
 #define hgsLoadUrlName hgSessionPrefix "loadUrlName"
 #define hgsDoLoadUrl hgSessionPrefix "doLoadUrl"
 
 #define namedSessionTable "namedSessionDb"
 
 void sessionTouchLastUse(struct sqlConnection *conn, char *encUserName,
 			 char *encSessionName);
 /* Increment namedSessionDb.useCount and update lastUse for this session. */
 
 void cartLoadUserSession(struct sqlConnection *conn, char *sessionOwner,
 			 char *sessionName, struct cart *cart,
 			 struct hash *oldVars, char *actionVar);
 /* If permitted, load the contents of the given user's session, and then