fix: content search last_published date [FC-0059] (#35195)
* fix: use versioning.last_publish_log for components * chore: bump openedx-learning to 0.10.1
This commit is contained in:
@@ -206,7 +206,7 @@ class LibraryXBlockMetadata:
|
||||
"""
|
||||
Construct a LibraryXBlockMetadata from a Component object.
|
||||
"""
|
||||
last_publish_log = authoring_api.get_last_publish(component.pk)
|
||||
last_publish_log = component.versioning.last_publish_log
|
||||
|
||||
return cls(
|
||||
usage_key=LibraryUsageLocatorV2(
|
||||
|
||||
@@ -441,7 +441,7 @@ class TestContentTagChildrenExport(TaggedCourseMixin): # type: ignore[misc]
|
||||
"""
|
||||
Test if we can export a library
|
||||
"""
|
||||
with self.assertNumQueries(11):
|
||||
with self.assertNumQueries(8):
|
||||
tagged_library = build_object_tree_with_objecttags(self.library.key, self.all_library_object_tags)
|
||||
|
||||
assert tagged_library == self.expected_library_tagged_xblock
|
||||
|
||||
@@ -87,7 +87,7 @@ libsass==0.10.0
|
||||
click==8.1.6
|
||||
|
||||
# pinning this version to avoid updates while the library is being developed
|
||||
openedx-learning==0.10.0
|
||||
openedx-learning==0.10.1
|
||||
|
||||
# Open AI version 1.0.0 dropped support for openai.ChatCompletion which is currently in use in enterprise.
|
||||
openai<=0.28.1
|
||||
|
||||
@@ -763,7 +763,7 @@ openedx-filters==1.9.0
|
||||
# -r requirements/edx/kernel.in
|
||||
# lti-consumer-xblock
|
||||
# ora2
|
||||
openedx-learning==0.10.0
|
||||
openedx-learning==0.10.1
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/kernel.in
|
||||
|
||||
@@ -1303,7 +1303,7 @@ openedx-filters==1.9.0
|
||||
# -r requirements/edx/testing.txt
|
||||
# lti-consumer-xblock
|
||||
# ora2
|
||||
openedx-learning==0.10.0
|
||||
openedx-learning==0.10.1
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/doc.txt
|
||||
|
||||
@@ -891,7 +891,7 @@ openedx-filters==1.9.0
|
||||
# -r requirements/edx/base.txt
|
||||
# lti-consumer-xblock
|
||||
# ora2
|
||||
openedx-learning==0.10.0
|
||||
openedx-learning==0.10.1
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
|
||||
@@ -970,7 +970,7 @@ openedx-filters==1.9.0
|
||||
# -r requirements/edx/base.txt
|
||||
# lti-consumer-xblock
|
||||
# ora2
|
||||
openedx-learning==0.10.0
|
||||
openedx-learning==0.10.1
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
|
||||
Reference in New Issue
Block a user