2018-07-30 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the 'EditCart' web API call that caused updates to
	the 'SongID' field to be ignored.
	* Fixed a bug in the 'EditCart' web API call that caused updates to
	the 'Conductor' field to be ignored.
This commit is contained in:
Fred Gleason 2018-07-30 09:23:30 -04:00
parent 6888838f90
commit 79974da3f7
2 changed files with 11 additions and 0 deletions

View File

@ -17248,3 +17248,8 @@
correctly.
* Modified the 'editcut.html' test harness to process UTF-8 strings
correctly.
2018-07-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'EditCart' web API call that caused updates to
the 'SongID' field to be ignored.
* Fixed a bug in the 'EditCart' web API call that caused updates to
the 'Conductor' field to be ignored.

View File

@ -334,6 +334,9 @@ void Xport::EditCart()
cart->setYear(number);
}
}
if(xport_post->getValue("SONG_ID",&value)) {
cart->setSongId(value);
}
if(xport_post->getValue("LABEL",&value)) {
cart->setLabel(value);
}
@ -349,6 +352,9 @@ void Xport::EditCart()
if(xport_post->getValue("COMPOSER",&value)) {
cart->setComposer(value);
}
if(xport_post->getValue("CONDUCTOR",&value)) {
cart->setConductor(value);
}
if(xport_post->getValue("USER_DEFINED",&value)) {
cart->setUserDefined(value);
}