Project

General

Profile

Feature #2705

Handling of work redirects

Added by Luke Murphey almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
04/30/2020
Due date:
% Done:

100%

History

#1 Updated by Luke Murphey almost 4 years ago

  • Priority changed from Normal to Urgent

#2 Updated by Luke Murphey almost 4 years ago

How do I detect that the a work was redirected?

{% if work_alias.title_slug != work.title_slug %}
TextCritical.update_work_url( $("#chapter-base-url").attr("href") ); {% endif %}

What is an example?
https://textcritical.net/work/speeches-1

#3 Updated by Luke Murphey almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF