Closed matangdilis closed 11 years ago
Does it appear as 0 or 1 in the DB? And what is the data type for the column - under PostgreSQL it is smallint so values of 0 or 1 should be correct.
Cheers, Piers Harding.
Hi, The DB is okay. It's just I got confused with the "Upload courses preview" page display because I tested with one course. I was expecting a dropdown box for Availability to appear with the selections "This course is available to students" and "This course is not available to students". That's what is not appearing when visible is in the csv, and the page looks broken (at least from my perspective). But if there were a lot more courses with varying visibility then the Availability dropdown menu would not be able to reflect the list and I should refer to the table.
I'm closing this now. Thank you for the reply.
minor issue. tested in moodle 2.2 and 2.3.
tool_uploadcourse version = 2012112300
When "visible" set to 0 or 1 is used in csv, the dropdown box for "Availability" in "Upload courses preview" web page is blank or it does not appear. But the course is uploaded with the proper visibility setting.