Course organization name

37 views
Skip to first unread message

Stg11

unread,
Jun 10, 2023, 3:22:58 AM6/10/23
to General Open edX discussion

I face a very strange problem.

I have set the organization name in the advance settings and this name overrides on the dashboard the name I set when I created the course but on the search page the name doesn’t be overridden (see the picture)!

Image 030

I have searched this issue more and I have found that both pages (index and courseware/courses.html) finally include the same page, /course.html, inserting the following code

<h2 class=“course-name”>
<span class=“course-organization”>${course.display_org_with_default}
<span class=“course-code”>${course.display_number_with_default}
<span class=“course-title”>${course.display_name_with_default}
</h2>

Inspecting the live code I found that the index.html has this section
<article class=“course” id=“${course.id}” role=“region” aria-label=“${course.display_name_with_default}”> which is the same as the section from /course.html.

Inspecting the code of the course search page (courseware/courses.html) I found that this section is a little different <article class=“course” role=“region” aria-label=“${course.display_name_with_default}”>, there is no id.

Why? Any help?


Reply all
Reply to author
Forward
0 new messages