I'm unsure what the last part of the .subscribe( function is doing. But it worked fine to tell the pcrud.search to sort the results.
I added a descending sort to the call. When the parts sorting for the holdings editor for the AngularJS client was discussed, the reverse sort was agreed upon also. Bug 1760893 for the discussion then. Which is great because that is what we wanted.
Working branch at user/stompro/ lp2037674_ angular_ holdings_ part_sort
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ stompro/ lp2037674_ angular_ holdings_ part_sort
I'm unsure what the last part of the .subscribe( function is doing. But it worked fine to tell the pcrud.search to sort the results.
I added a descending sort to the call. When the parts sorting for the holdings editor for the AngularJS client was discussed, the reverse sort was agreed upon also. Bug 1760893 for the discussion then. Which is great because that is what we wanted.
Here is an example of how to reverse the parts sorting for the Angular Monograph Parts interface and for Angular holds placement also in case that is useful to anyone. /gitlab. com/LARL/ evergreen- larl/-/ commit/ d71d672f85adae5 66e00380f3c094c f88899a4ee
https:/
Josh