antoniop
committed
on 13 Mar 17
Change also the value of instance variable, as this will be used e.g. by update_item_index without fetching from db again.