mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 19:17:05 -05:00 
			
		
		
		
	* Trim when reading some fields from ComicInfo. Adjusted css on the site to reduce nbsp * Added Cancelled as a publication status * Ensure we track volume number from ComicInfo for the count to determine publication status * Publication Status will now check against volume number or chapter number (parsed or comicinfo). The UI will now display the progress, ie) 10/15 and will show the series as completed with a green tag badge if the progress is 100%. * Tweaked the ordering of the tabs to make it more streamlined in the reading ordering of Kavita * Tweaked the logic for filling in tag badge * Added a new publication status of Ended for series that have finished releasing, but not all items are in Kavita * Added some fields to edit series modal
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
using Microsoft.EntityFrameworkCore.Migrations;
 | 
						|
 | 
						|
#nullable disable
 | 
						|
 | 
						|
namespace API.Data.Migrations
 | 
						|
{
 | 
						|
    public partial class ChangeCountToTotalCount : Migration
 | 
						|
    {
 | 
						|
        protected override void Up(MigrationBuilder migrationBuilder)
 | 
						|
        {
 | 
						|
            migrationBuilder.DropForeignKey(
 | 
						|
                name: "FK_SeriesRelation_Series_SeriesId",
 | 
						|
                table: "SeriesRelation");
 | 
						|
 | 
						|
            migrationBuilder.RenameColumn(
 | 
						|
                name: "Count",
 | 
						|
                table: "SeriesMetadata",
 | 
						|
                newName: "TotalCount");
 | 
						|
 | 
						|
            migrationBuilder.AddForeignKey(
 | 
						|
                name: "FK_SeriesRelation_Series_SeriesId",
 | 
						|
                table: "SeriesRelation",
 | 
						|
                column: "SeriesId",
 | 
						|
                principalTable: "Series",
 | 
						|
                principalColumn: "Id");
 | 
						|
        }
 | 
						|
 | 
						|
        protected override void Down(MigrationBuilder migrationBuilder)
 | 
						|
        {
 | 
						|
            migrationBuilder.DropForeignKey(
 | 
						|
                name: "FK_SeriesRelation_Series_SeriesId",
 | 
						|
                table: "SeriesRelation");
 | 
						|
 | 
						|
            migrationBuilder.RenameColumn(
 | 
						|
                name: "TotalCount",
 | 
						|
                table: "SeriesMetadata",
 | 
						|
                newName: "Count");
 | 
						|
 | 
						|
            migrationBuilder.AddForeignKey(
 | 
						|
                name: "FK_SeriesRelation_Series_SeriesId",
 | 
						|
                table: "SeriesRelation",
 | 
						|
                column: "SeriesId",
 | 
						|
                principalTable: "Series",
 | 
						|
                principalColumn: "Id",
 | 
						|
                onDelete: ReferentialAction.Restrict);
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |