DistributedProofreaders / dproofreaders

Distributed Proofreaders is a web application intended to ease the process of converting public domain books into e-texts.
https://www.pgdp.net
GNU General Public License v2.0
46 stars 28 forks source link

Use project object rather than projectid to construct LPage #1163

Closed 70ray closed 3 months ago

70ray commented 3 months ago

This should be useful for the API.

Another new project is not now made at line 450 but I think this should not cause any problem. The only reason to make another new project is if we have done something which changes the projects table so the project object could be invalid. The only thing that does this here is project_transition() but that occurs later.

Sandbox at: https://www.pgdp.org/~rp31/c.branch/LP_project